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

Already on GitHub? Sign in to your account

Create streaming backend. #151

adamcik opened this Issue Jul 2, 2012 · 0 comments


None yet
1 participant

adamcik commented Jul 2, 2012

Create a simple backend that simply supports a white-listed set of streaming formats. Following code can probably be used to determine which ones we should announce that we support as this can vary with the gstreamer plugins that are installed.

import gst

whitelisted_protocols = set(['http', 'https', 'mms', 'rtmp', 'rtmps', 'rtsp'])
available_protocols = set()
for factory in gst.registry_get_default().get_feature_list(gst.TYPE_ELEMENT_FACTORY):
     for uri in factory.get_uri_protocols():

print whitelisted_protocols.intersection(available_protocols)

@adamcik adamcik closed this in 341dea7 Jan 2, 2013

@ghost ghost assigned adamcik Jan 6, 2013

adamcik added a commit that referenced this issue Mar 12, 2013

stream backend: Add StreamBackend, fixes #151
Adds a basic streaming backend simply handles streaming audio and nothing else.
I.e. no metadata beyond the URI we where given. #270 still needs to be solved
for actual metadata to make sense in this backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment