Updating souphttpsrc URI during playback

Jonathan Miles ap.jonathan.miles at gmail.com
Mon Mar 5 11:51:37 UTC 2018


I'm using GStreamer to playback a time-limited URI from a streaming service.

If the stream is paused, there's a possibility that the http session and
URI have expired by time the stream is un-paused, resulting in souphttpsrc
getting a 403 error when it re-connects.

Is there any mechanism in GStreamer to 'refresh' the URI when an error
occurs while maintaining the playback position?

In an ideal world, I'd like to catch the HTTP error in souphttpsrc and
refresh the URI before the stream runs out of data, so there is no
interruption to the output.

Thanks in advance,

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180305/32f9eff3/attachment.html>


More information about the gstreamer-devel mailing list