Package flumotion :: Package component :: Package plugs :: Module streamdata :: Class ExampleStreamDataProvider
[hide private]

Class ExampleStreamDataProvider

source code

common.log.Loggable --+            
                      |            
              base.Plug --+        
                          |        
         base.ComponentPlug --+    
                              |    
             StreamDataProvider --+
                                  |
                                 ExampleStreamDataProvider

Instance Methods [hide private]
 
start(self, component) source code
 
getStreamData(self)
Get the stream data for a streamer.
source code

Inherited from base.ComponentPlug: restart, stop

Inherited from base.Plug: __init__

Inherited from common.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  description = None
  url = None

Inherited from common.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

start(self, component)

source code 
Overrides: base.ComponentPlug.start

getStreamData(self)

source code 

Get the stream data for a streamer.

This interface is useful if you want to use an external component to create a playlist for a streamer. The returned data structure would then be used in making that playlist. Flumotion core does not currently include such a component, however.

Overrides: StreamDataProvider.getStreamData
(inherited documentation)