Skip to content
This repository

Create streaming backend. #151

Closed
adamcik opened this Issue · 0 comments

1 participant

Thomas Adamcik
Thomas Adamcik
Owner

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():
         available_protocols.add(uri)

print whitelisted_protocols.intersection(available_protocols)
Thomas Adamcik adamcik referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Thomas Adamcik adamcik closed this issue from a commit
Thomas Adamcik adamcik 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.
341dea7
Thomas Adamcik adamcik referenced this issue from a commit
Thomas Adamcik adamcik 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.
795926c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.