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.

Nested Classes [hide private]

Inherited from twisted.web.resource.Resource: entityType

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

Inherited from twisted.web.resource.Resource: __providedBy__, __provides__, delEntity, getChild, getChildForRequest, getChildWithDefault, getDynamicEntity, getStaticEntity, listDynamicEntities, listDynamicNames, listEntities, listNames, listStaticEntities, listStaticNames, putChild, reallyPutEntity, render, render_HEAD

Class Variables [hide private]

Inherited from twisted.web.resource.Resource: __implemented__, isLeaf, server

Method Details [hide private]

__init__(self, entries, target_bitrate=None, min_bitrate=96000)
(Constructor)

source code 

Initialize.

Overrides: twisted.web.resource.Resource.__init__
(inherited documentation)