Package flumotion :: Package component :: Package consumers :: Package icystreamer :: Module icystreamer :: Class ICYStreamer
[hide private]

Class ICYStreamer

source code

                         object --+                        
                                  |                        
            common.common.InitMixin --+                    
                                      |                    
            extern.log.log.Loggable --+                    
                                      |                    
                component.BaseComponent --+                
                                          |                
             feedcomponent010.FeedComponent --+            
                                              |            
             feedcomponent.ParseLaunchComponent --+        
                                                  |        
                                     object --+   |        
                                              |   |        
                 common.streamer.streamer.Stats --+        
                                                  |        
                  common.streamer.streamer.Streamer --+    
                                                      |    
                                     object --+       |    
                                              |       |    
                 common.streamer.streamer.Stats --+   |    
                                                  |   |    
          common.streamer.multifdsinkstreamer.Stats --+    
                                                      |    
common.streamer.multifdsinkstreamer.MultifdSinkStreamer --+
                                                          |
                                                         ICYStreamer

Nested Classes [hide private]

Inherited from common.streamer.streamer.Streamer: componentMediumClass, siteClass

Instance Methods [hide private]
 
init(self)
A subclass should do as little as possible in its init method.
source code
 
configure_auth_and_resource(self) source code
 
configure_pipeline(self, pipeline, properties)
Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component.
source code
 
_tag_event_cb(self, pad, event) source code
 
parseProperties(self, properties) source code
 
configureMuxer(self, pipeline) source code
 
get_content_type(self) source code
 
add_client(self, fd, request) source code
 
remove_client(self, fd) source code
 
get_icy_headers(self) source code
 
updateState(self, set) source code
 
do_pipeline_playing(self)
Invoked when the pipeline has changed the state to playing.
source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from common.streamer.multifdsinkstreamer.MultifdSinkStreamer: __repr__, check_properties, getMaxClients, get_mime, parseExtraProperties, remove_all_clients, setup_burst_mode

Inherited from common.streamer.streamer.Streamer: do_setup, do_stop, getDescription, getLoadData, getStreamData, getUrl, get_pipeline_string, hasCaps, updatePorterDetails, update_ui_state

Inherited from feedcomponent.ParseLaunchComponent: add_default_eater_feeder, create_pipeline, get_eater_srcpad, get_eater_template, get_feeder_sinkpad, get_feeder_template, get_queue_string, parse_pipeline, parse_tmpl, set_pipeline

Inherited from feedcomponent010.FeedComponent: addEffect, attachPadMonitorToElement, attachPadMonitorToFeeder, bus_message_received_cb, cleanup, connect_feeders, dump_gstreamer_debug_dot_file, eatFromFD, feedToFD, get_element, get_element_property, get_master_clock, get_pipeline, install_eater_continuity_watch, install_eater_event_probes, make_message_for_gstreamer_error, modify_element_property, provide_master_clock, reconnectEater, set_element_property, set_master_clock, setup_completed, stop_pipeline, try_start_pipeline, unblock_eater

Inherited from component.BaseComponent: __init__, addMessage, adminCallRemote, checkPropertyType, do_check, fixRenamedProperties, getMood, getName, getWorkerName, modifyProperty, observerAppend, observerRemove, removeMessage, setMedium, setMood, setShutdownHook, setWorkerName, setup, stop, waitForHappy, warnDeprecatedProperties

Inherited from common.streamer.multifdsinkstreamer.Stats: getBytesReceived, getBytesSent

Inherited from common.streamer.streamer.Stats: __providedBy__, clientAdded, clientRemoved, getAverageClients, getClients, getCurrentBitrate, getLoadDeltas, getPeakClients, getPeakEpoch, getUptime

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  checkOffset = True
whether to check continuity of offsets for eaters
  logCategory = 'icy-http'
Implementors can provide a category to log their messages under.
  pipe_template = 'identity name=input silent=true ! tee name=te...
  defaultSyncMethod = 2
hash(x)
  defaultFrameSize = 256
  defaultMetadataInterval = 2
hash(x)
  __implemented__ = <implementedBy flumotion.component.consumers...

Inherited from common.streamer.streamer.Streamer: multi_files

Inherited from feedcomponent.ParseLaunchComponent: DELIMITER, DEPAY_TMPL, EATER_TMPL, FDSRC_TMPL, FEEDER_TMPL, checkTimestamp

Inherited from feedcomponent010.FeedComponent: FEEDER_STATS_UPDATE_FREQUENCY, dropStreamHeaders, eaters, feeders, swallowNewSegment

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name, uiState

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

init(self)

source code 

A subclass should do as little as possible in its init method. In particular, it should not try to access resources.

Failures during init are marshalled back to the manager through the worker's remote_create method, since there is no component state proxied to the manager yet at the time of init.

Overrides: component.BaseComponent.init
(inherited documentation)

configure_auth_and_resource(self)

source code 
Overrides: common.streamer.streamer.Streamer.configure_auth_and_resource

configure_pipeline(self, pipeline, properties)

source code 

Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component.

This could include attaching signals and bus handlers.

Overrides: feedcomponent.ParseLaunchComponent.configure_pipeline
(inherited documentation)

parseProperties(self, properties)

source code 
Overrides: common.streamer.streamer.Streamer.parseProperties

get_content_type(self)

source code 
Overrides: common.streamer.streamer.Streamer.get_content_type

add_client(self, fd, request)

source code 
Overrides: common.streamer.multifdsinkstreamer.MultifdSinkStreamer.add_client

remove_client(self, fd)

source code 
Overrides: common.streamer.multifdsinkstreamer.MultifdSinkStreamer.remove_client

updateState(self, set)

source code 
Overrides: common.streamer.streamer.Stats.updateState

do_pipeline_playing(self)

source code 

Invoked when the pipeline has changed the state to playing. The default implementation sets the component's mood to HAPPY.

Overrides: feedcomponent010.FeedComponent.do_pipeline_playing
(inherited documentation)

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

Overrides: extern.log.log.Loggable.__provides__

Class Variable Details [hide private]

pipe_template

Value:
'identity name=input silent=true ! tee name=tee tee. ! queue ! multifd\
sink name=sink-without-id3 sync=false recover-policy=3 tee. ! queue ! \
icymux name=mux ! multifdsink name=sink-with-id3 sync=false recover-po\
licy=3'

__implemented__

Value:
<implementedBy flumotion.component.consumers.icystreamer.icystreamer.I\
CYStreamer>