GNOME Bugzilla – Bug 551048
rtsp implementation sends PAUSE even when server doesn't support it
Last modified: 2008-09-25 12:08:00 UTC
When using gst-launch playbin on an rtsp:// url, gstreamer sends an OPTIONS request to my server and gets this reply: RTSP/1.0 200 OK CSeq: 0 Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN Later, when I press ^C to stop playback, gstreamer sends a PAUSE request, despite the fact that my server does not support PAUSE. The message on screen when this happens is "Setting pipeline to PAUSED ..." I expected gstreamer to avoid sending a PAUSE request because that method was not present in the earlier OPTIONS response.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods): Don't assume the server supports PAUSE by default. Fixes #551048.