开发者

How to handle playlist with gstreamer?

开发者 https://www.devze.com 2023-01-30 02:10 出处:网络
I want to create app开发者_JAVA百科lication that will play live internet streams with gstreamer. It plays some streams fine, but when it encounters playlist it gives me an error that there is no plugi

I want to create app开发者_JAVA百科lication that will play live internet streams with gstreamer. It plays some streams fine, but when it encounters playlist it gives me an error that there is no plugin for "text/uri-list". How can I handle playlist uris in a correct way?


Although there are some discussions about the support of playlist in GStreamer, today, you'll have to catch the missing plugin error (for known playlist mimetypes), and handle the URI yourself. You can use totem-plparser to deal with the actual parsing. See example code in the reference documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号