mrayGStreamerUnity
mrayGStreamerUnity copied to clipboard
Cannot stream hls live stream on Unity objects
In example scene Test1, I replaced the string parameter in m_Texture.SetPipeline()
in CustomPipelinePlayer.cs as
"souphttpsrc location=http://path/to/hls/playlist.m3u8 ! hlsdemux ! decodebin ! video/x-raw ! videoconvert ! appsink name=videoSink"
, but it didn't work.
However, if the string is changed to
"souphttpsrc location=http://path/to/hls/playlist.m3u8 ! hlsdemux ! decodebin ! video/x-raw ! videoconvert ! autovideosink"
,
it will create a new window playing the live stream.
I would like the play the live stream on Unity objects, just like what the example shows. Could anyone have suggestions?