Taras
Taras

Reputation: 429

How to handle playlist with gstreamer?

I want to create application 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?

Upvotes: 2

Views: 2575

Answers (1)

elmarco
elmarco

Reputation: 33043

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.

Upvotes: 2

Related Questions