Package flumotion :: Package component :: Package plugs :: Package hlsmultibitrate :: Module multibitrate :: Class PlaylistResource
[hide private]

Class PlaylistResource

source code

twisted.web.resource.Resource --+
                                |
                               PlaylistResource

I am a resource for m3u8 playlists, rendering multibitrate playlists based on the user-agent, so that IPad clients gets a variant playlist in which the first element correspond to the higher bitrate, whilst IPhone ones receive a playlist where the first element has a lower bitrate.

Instance Methods [hide private]
 
__init__(self, entries, target_bitrate=None, min_bitrate=AUDIO_TARGET) source code
 
render_GET(self, request) source code