Changing source location on souphttpsrc

Bill Hofmann bill at theliquidview.com
Fri Nov 11 21:49:16 UTC 2022


Folks:

I've got a manifest that I've set as the location to souphttpsrc in a graph
like this:

souphttpsrc location="http://localhost/foo.m3u8" ! parsebin !
queue ! vaapih265dec ! video/x-raw,format=P010_10LE !
queue max-size-bytes=100663300 ! kmssink connector-id=308 plane-id=31


I would like to dynamically change the location to another manifest. Just
setting the location property does nothing. Setting the playing state to
READY or NULL and then later setting it to PLAYING also doesn't help. I get
this error:

Error from element hlsdemux2-1: gst-stream-error-quark: Internal data
stream error. (1)
debug:../subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c(3552):
gst_adaptive_demux_output_loop ():
/GstPipeline:pipeline0/GstParseBin:pb/GstHLSDemux2:hlsdemux2-1:streaming
stopped, reason not-linked (-1) 2022-11-11T13:41:52.347851-08:00


Setting it to PAUSED and then PLAYING later leaves the same content playing.

Obviously something dumb here - what's the best approach?

-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221111/6c313c16/attachment-0001.htm>


More information about the gstreamer-devel mailing list