Package elisa :: Package core :: Module player
[hide private]
[frames] | no frames]

Module player

source code

Classes [hide private]
  PlayerPlaying
Sent over the message bus when the first frame or buffer of a media has been outputted.
  PlayerStopping
Sent over the message bus when the playing is stopped.
  PlayerLoading
Sent over the message bus when the player is asked to play.
  PlayerBuffering
Sent if the player is loading before playing or if it is prebuffering during playing.
  PlayerPausing
Sent over the message bus when the playing is paused.
  NewClock
This message is triggered everytime the engine gets a new Clock.
  NewBaseTime
This message is triggered everytime, the engine got a new BaseTime.
  PlayerError
Sent over the message bus if the player encountered an issue.
  Player
A player can play one audio or video media at a time.
Variables [hide private]
  __maintainer__ = 'Benjamin Kampmann <benjamin@fluendo.com>'
  STATES = Enum('LOADING', 'PLAYING', 'PAUSED', 'STOPPED')
STATES.LOADING : The media is still loading.
Variables Details [hide private]

STATES


STATES.LOADING : The media is still loading. When it is finished the state
                 is switched to playing.
STATES.PLAYING : The player is currently playing a media.
STATES.PAUSED  : The player is paused. It means the media is paused at the last
                 played position and will continue to play from there.
STATES.STOPPED : The player is stopped. It will restart playing from the
                 beginning of the media.

Value:
Enum('LOADING', 'PLAYING', 'PAUSED', 'STOPPED')