A PlayerEngine provides various media playback related
functionalities. It declares the uri schemes it supports and will be
automatically instantiated by the elisa.core.player_engine_registry.PlayerEngineRegistry
if needed.
Messages listed at
|
__init__(self)
Lazily set name from class name styled with underscores (class
ComponentBar -> name component_bar. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_seek_to_location(self,
location)
seek to the given location with self.speed |
source code
|
|
|
_pipeline_set_state(self,
state)
Set the state of the pipeline asynchronisly |
source code
|
|
Inherited from core.component.Component :
clean ,
initialize ,
load_config ,
save_config
Inherited from extern.log.log.Loggable :
debug ,
doLog ,
error ,
info ,
log ,
logFunction ,
logObjectName ,
warning ,
warningFailure
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
gst.Pipeline
|
_pipeline
the internally used pipeline
|
gst.BaseSink
|
audio_sink
the audiosink of this player engine
|
float
|
duration
(read-only) the total length of the loaded uri in nanoseconds
|
instance
|
message_sender
who is the sender of messages (per default it is self)
|
float
|
position
the position we are currently playing in nanoseconds
|
float
|
speed
The speed of the current playback:
|
elisa.core.player.STATES
|
state
(read-only) The current state.
|
elisa.core.media_uri.Mediauri
|
uri
(write-only) change the engine to be able to play the set uri.
|
gst.BaseSink
|
video_sink
the videosink of this player engine
|
gst.Element
|
visualisation
the visualisation element for the player engine
|
float
|
volume
a value between 0 and 10
|
Inherited from core.component.Component :
config ,
path
|