[gstreamer-bugs] [Bug 559543] rtspsrc doesn't send EOS when playing finished

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 5 17:39:19 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=559543

  GStreamer | gst-plugins-good | Ver: 0.10.20

Eric Zhang changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chao.zhang at access-
                   |                            |company.com




------- Comment #1 from Eric Zhang  2008-11-06 01:39 UTC -------
I made a patch seems to work now. I read the source code of openRTSP which is
another open source RTSP impelementation and found out it uses a timeout
callback to handle this EOS issue. In short words, when the playing starts, it
sets up a timeout callback(the timeout time is the duration of current clip),
when the timeout occurs -- sends out the EOS.
According to this logic, I created some codes in
<gst-plugins-good>/gst/rtspsrc/gstrtspsrc.c and make EOS happens. Refer to my
patch file attached for details.

By the way: I think this is a ugly EOS implementation but it works. RTSP 1.0
doesn't support EOS while RTSP 2.0(draft) supports it in PLAY_NOTIFY method. In
RTSP 2.0 in the future, maybe we can got a graceful EOS implementation.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=559543.




More information about the Gstreamer-bugs mailing list