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 673490 - Hang when seeking
Hang when seeking
Status: RESOLVED DUPLICATE of bug 635701
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 585814 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-04-04 10:31 UTC by Vincent Penquerc'h
Modified: 2015-03-25 22:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Penquerc'h 2012-04-04 10:31:44 UTC
First, this is a bug mostly for reminder purposes, as I'm not certain the issue is with gst-rtsp-server yet.

Using gst insanity rtsp test (1), which starts a gst-rtsp-server and connects to it using playbin2, sending a seek query to the playbin2 pipeline blocks as the RTP code waits for a reply from the server, which does not come.

The event is sent from PLAYING from a glib timeout or idle source, via gst_element_seek, which never returns. If the pipeline is set to PAUSED before sending the seek query, the query returns, and the pipeline can be put back to PLAYING.

Running the test:
./tests/insanity-test-gst-rtsp --run uri=file://path/to/file/to/stream

I used mostly a webm file, but this happens for all files I tried.

Note that the seek test is currently disabled due to the hang, so this line in tests/insanity-test-gst-rtsp needs uncommenting to reproduce the hang:
  /*{ "seek", &rtsp_test_seek, 0 },*/ /* fails to send event, disabled for now */

It is interesting to note that gst-launch playbin2 uri=rtsp://127.0.0.1:8554/test video-sink='navseek ! autovideosink' does not hang. navseek sends a query as well, but from an event function.

(1) http://cgit.collabora.com/git/user/vincent/insanity-gst/
Comment 1 Vincent Penquerc'h 2012-04-04 10:38:18 UTC
Sorry, I should have added both insanity and insanity-gst are needed:

 http://cgit.collabora.com/git/user/vincent/insanity/
 http://cgit.collabora.com/git/user/vincent/insanity-gst/
Comment 2 Wim Taymans 2012-12-14 08:29:20 UTC
*** Bug 585814 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Dufresne (ndufresne) 2015-03-25 22:21:56 UTC

*** This bug has been marked as a duplicate of bug 635701 ***