sipxmedialib
Version 3.3
|
#include <MpPlayer.h>
Classes | |
struct | PlayerListenerDb |
Public Types | |
enum | playerType { STREAM_PLAYER, STREAM_PLAYLIST_PLAYER, STREAM_QUEUE_PLAYER } |
Public Member Functions | |
MpPlayer () | |
virtual | ~MpPlayer () |
Manipulators | |
virtual OsStatus | realize (UtlBoolean bBlock=TRUE)=0 |
virtual OsStatus | prefetch (UtlBoolean bBlock=TRUE)=0 |
param bBlock - TRUE if the method should block until completion, More... | |
virtual OsStatus | play (UtlBoolean bBlock=TRUE)=0 |
param bBlock - TRUE if the method should block until completion, More... | |
virtual OsStatus | pause ()=0 |
param bBlock - TRUE if the method should block until completion, More... | |
virtual OsStatus | stop ()=0 |
virtual OsStatus | destroy ()=0 |
OsStatus | addListener (MpPlayerListener *pListener, void *pUserData=NULL) |
OsStatus | removeListener (MpPlayerListener *pListener) |
Accessors | |
virtual OsStatus | getState (PlayerState &state)=0 |
Protected Member Functions | |
void | fireEvent (PlayerState state) |
UtlBoolean | isValidStateChange (PlayerState oldState, PlayerState newState) |
Private Attributes | |
PlayerListenerDb | mListenerDb [MAX_PLAYER_LISTENERS] |
OsMutex | mListenerLock |
enum playerType |
MpPlayer | ( | ) |
|
virtual |
|
pure virtual |
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
|
pure virtual |
param bBlock - TRUE if the method should block until completion,
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
|
pure virtual |
param bBlock - TRUE if the method should block until completion,
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
|
pure virtual |
param bBlock - TRUE if the method should block until completion,
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
|
pure virtual |
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
|
pure virtual |
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
OsStatus addListener | ( | MpPlayerListener * | pListener, |
void * | pUserData = NULL |
||
) |
OsStatus removeListener | ( | MpPlayerListener * | pListener | ) |
|
pure virtual |
Implemented in MpStreamPlaylistPlayer, and MpStreamPlayer.
|
protected |
|
protected |
|
private |
|
private |