mrayGStreamerUnity icon indicating copy to clipboard operation
mrayGStreamerUnity copied to clipboard

Cannot stream hls live stream on Unity objects

Open hinho1106 opened this issue 3 years ago • 0 comments

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?

hinho1106 avatar May 12 '21 11:05 hinho1106