Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot stream hls live stream on Unity objects #27

Open
hinho1106 opened this issue May 12, 2021 · 0 comments
Open

Cannot stream hls live stream on Unity objects #27

hinho1106 opened this issue May 12, 2021 · 0 comments

Comments

@hinho1106
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant