15 #ifndef _MpStreamPlayer_h_ 16 #define _MpStreamPlayer_h_ 18 #ifndef DISABLE_STREAM_PLAYER // [ 25 #include "os/OsBSem.h" 26 #include "os/OsDefs.h" 27 #include "os/OsServerTask.h" 28 #include "os/OsStatus.h" 62 MpStreamPlayer(OsMsgQ* pMsg, Url url,
int flags,
const char* pTarget = NULL) ;
72 MpStreamPlayer(OsMsgQ* pMsg, UtlString* pBuffer,
int flags,
const char* pTarget = NULL) ;
105 virtual OsStatus
play(UtlBoolean bBlock =
TRUE);
111 virtual OsStatus
rewind(UtlBoolean bBlock =
TRUE);
118 virtual OsStatus
pause();
126 virtual OsStatus
stop();
204 #endif // DISABLE_STREAM_PLAYER ] 206 #endif // _MpStreamPlayer_h_ virtual OsStatus pause()
param bBlock - TRUE if the method should block until completion,
Definition: MpStreamPlayer.cpp:347
virtual OsStatus play(UtlBoolean bBlock=TRUE)
param bBlock - TRUE if the method should block until completion,
Definition: MpStreamPlayer.cpp:264
SourceType
Definition: MpStreamPlayer.h:53
virtual OsStatus realize(UtlBoolean bBlock=TRUE)
Definition: MpStreamPlayer.cpp:117
virtual UtlBoolean handleMessage(OsMsg &rMsg)
Definition: MpStreamPlayer.cpp:575
MpStreamPlayer & operator=(const MpStreamPlayer &rhs)
Definition: MpStreamPlayer.cpp:522
int mSourceType
Definition: MpStreamPlayer.h:185
void setState(PlayerState iState)
Definition: MpStreamPlayer.cpp:650
virtual void waitForDestruction()
Definition: MpStreamPlayer.cpp:441
Definition: MpStreamPlayer.h:55
Definition: MpPlayer.h:92
MpStreamPlayer(OsMsgQ *pMsg, Url url, int flags, const char *pTarget=NULL)
Definition: MpStreamPlayer.cpp:35
Url mUrl
Definition: MpStreamPlayer.h:186
UtlBoolean mbRealized
Definition: MpStreamPlayer.h:198
int miTimesAlreadyLooped
Definition: MpStreamPlayer.h:197
int miLoopCount
Definition: MpStreamPlayer.h:195
virtual OsStatus destroy()
Definition: MpStreamPlayer.cpp:405
void * StreamHandle
Handles used by the renderer.
Definition: StreamDefs.h:42
OsStatus setLoopCount(int iLoopCount)
Definition: MpStreamPlayer.cpp:335
virtual OsStatus prefetch(UtlBoolean bBlock=TRUE)
param bBlock - TRUE if the method should block until completion,
Definition: MpStreamPlayer.cpp:236
virtual ~MpStreamPlayer()
Definition: MpStreamPlayer.cpp:99
virtual OsStatus rewind(UtlBoolean bBlock=TRUE)
param bBlock - TRUE if the method should block until completion,
Definition: MpStreamPlayer.cpp:301
OsQueuedEvent * mpQueueEvent
Definition: MpStreamPlayer.h:192
PlayerState getState()
Definition: MpStreamPlayer.cpp:681
virtual OsStatus getSourceType(int &iType) const
Definition: MpStreamPlayer.cpp:471
virtual OsStatus getSourceUrl(Url &url) const
Definition: MpStreamPlayer.cpp:480
UtlString mTarget
Definition: MpStreamPlayer.h:190
OsBSem mSemStateChange
Definition: MpStreamPlayer.h:193
PlayerState
Definition: MpPlayer.h:38
Definition: MpStreamPlayer.h:48
int mFlags
Definition: MpStreamPlayer.h:191
virtual OsStatus stop()
Definition: MpStreamPlayer.cpp:368
OsMsgQ * mpMsgQ
Definition: MpStreamPlayer.h:184
PlayerState mState
Definition: MpStreamPlayer.h:188
OsBSem mSemStateGuard
Definition: MpStreamPlayer.h:194
Definition: MpStreamPlayer.h:56
#define TRUE
Definition: PlgDefsV1.h:41
virtual OsStatus getSourceBuffer(UtlString *&pBuffer) const
Definition: MpStreamPlayer.cpp:495
UtlString * mpBuffer
Definition: MpStreamPlayer.h:187
StreamHandle mHandle
Definition: MpStreamPlayer.h:189