After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551048 - rtsp implementation sends PAUSE even when server doesn't support it
rtsp implementation sends PAUSE even when server doesn't support it
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-05 21:10 UTC by Forest
Modified: 2008-09-25 12:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Forest 2008-09-05 21:10:02 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.
Comment 1 Wim Taymans 2008-09-25 12:08:00 UTC
        * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_methods):
        Don't assume the server supports PAUSE by default. Fixes #551048.