#include <MpStreamPlayer.h>
|
|
| MpStreamPlayer (OsMsgQ *pMsg, Url url, int flags, const char *pTarget=NULL) |
|
| MpStreamPlayer (OsMsgQ *pMsg, UtlString *pBuffer, int flags, const char *pTarget=NULL) |
|
virtual | ~MpStreamPlayer () |
|
|
virtual OsStatus | realize (UtlBoolean bBlock=TRUE) |
|
virtual OsStatus | prefetch (UtlBoolean bBlock=TRUE) |
| param bBlock - TRUE if the method should block until completion, More...
|
|
virtual OsStatus | play (UtlBoolean bBlock=TRUE) |
| param bBlock - TRUE if the method should block until completion, More...
|
|
virtual OsStatus | rewind (UtlBoolean bBlock=TRUE) |
| param bBlock - TRUE if the method should block until completion, More...
|
|
virtual OsStatus | pause () |
| param bBlock - TRUE if the method should block until completion, More...
|
|
OsStatus | setLoopCount (int iLoopCount) |
|
virtual OsStatus | stop () |
|
virtual OsStatus | destroy () |
|
virtual void | waitForDestruction () |
|
|
virtual OsStatus | getState (PlayerState &state) |
|
virtual OsStatus | getSourceType (int &iType) const |
|
virtual OsStatus | getSourceUrl (Url &url) const |
|
virtual OsStatus | getSourceBuffer (UtlString *&pBuffer) const |
|
| MpPlayer () |
|
virtual | ~MpPlayer () |
|
OsStatus | addListener (MpPlayerListener *pListener, void *pUserData=NULL) |
|
OsStatus | removeListener (MpPlayerListener *pListener) |
|
Enumerator |
---|
SourceUrl |
|
SourceBuffer |
|
MpStreamPlayer |
( |
OsMsgQ * |
pMsg, |
|
|
Url |
url, |
|
|
int |
flags, |
|
|
const char * |
pTarget = NULL |
|
) |
| |
MpStreamPlayer |
( |
OsMsgQ * |
pMsg, |
|
|
UtlString * |
pBuffer, |
|
|
int |
flags, |
|
|
const char * |
pTarget = NULL |
|
) |
| |
param pMsg - Destination for MpStreamMsg commands param url - Url identifing the source data stream param flags - Playing flags (see StreamDefs.h) param target - Target Id used by the msg receiver to help with
param pMsg - Destination for MpStreamMsg commands param pBuffer - Net Buffer containing buffered audio data. The param flags - Playing flags (see StreamDefs.h) param target - Target Id used by the msg receiver to help with
OsStatus realize |
( |
UtlBoolean |
bBlock = TRUE | ) |
|
|
virtual |
OsStatus prefetch |
( |
UtlBoolean |
bBlock = TRUE | ) |
|
|
virtual |
param bBlock - TRUE if the method should block until completion,
Implements MpPlayer.
OsStatus play |
( |
UtlBoolean |
bBlock = TRUE | ) |
|
|
virtual |
param bBlock - TRUE if the method should block until completion,
Implements MpPlayer.
OsStatus rewind |
( |
UtlBoolean |
bBlock = TRUE | ) |
|
|
virtual |
param bBlock - TRUE if the method should block until completion,
param bBlock - TRUE if the method should block until completion,
Implements MpPlayer.
OsStatus setLoopCount |
( |
int |
iLoopCount | ) |
|
void waitForDestruction |
( |
| ) |
|
|
virtual |
OsStatus getSourceType |
( |
int & |
iType | ) |
const |
|
virtual |
OsStatus getSourceUrl |
( |
Url & |
url | ) |
const |
|
virtual |
OsStatus getSourceBuffer |
( |
UtlString *& |
pBuffer | ) |
const |
|
virtual |
UtlBoolean handleMessage |
( |
OsMsg & |
rMsg | ) |
|
|
protectedvirtual |
OsQueuedEvent* mpQueueEvent |
|
private |