rtspsrc just stopping playback

Sebastian Dröge sebastian at centricular.com
Tue Apr 12 06:53:15 UTC 2016


On Mo, 2016-04-11 at 16:48 +0200, marcin at saepia.net wrote:
> Hello,
> 
> I encounter odd behaviour with rtspsrc.
> 
> I have Gst-backed RTSP server that encodes opus audio stream and
> rtspsrc on the other side (on Android) that tries to play it back.
> 
> Generally speaking it works fine but it just stops playback after
> some time (5-10 min) with no error, warning, message etc. (I am
> logging everything that appears on the pipeline's bus).
> 
> When I restart the pipeline it just starts to work again so I assume
> that problem is on the receiver side.
> 
> The receiver's pipeline is 
> 
> rtspsrc location=rtsp://.... user-agent=... drop-on-latency=true
> latency=500 tls-database=... protocols=... username=... password=...
> ! decodebin ! audioconvert ! audioresample ! queue2 ! openslessink
> 
> (protocols are  0x00000001 | 0x00000002 | 0x00000004 | 0x00000010 |
> 0x00000020)
> 
> I am using 1.8.0 on both sides.

That seems like a bug to me, it should work fine.

Using queue2 here is not useful though, a normal queue is better. But
that should be unrelated.

> uggestions what can be the reason for such mysteroius hangs?
> 
> How can I enable equivalent of GST_DEBUG env var on Android?

The environment variable is just convenience around the gst_debug_set*
API, e.g. gst_debug_set_threshold_from_string("*:6", TRUE).

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160412/00384064/attachment.sig>


More information about the gstreamer-devel mailing list