Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Create streaming backend. #151

Closed
adamcik opened this Issue · 0 comments

1 participant

@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)
@adamcik adamcik referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@adamcik adamcik closed this issue from a commit
@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
@adamcik adamcik closed this in 341dea7
@adamcik adamcik was assigned
@adamcik adamcik referenced this issue from a commit
@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.