|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
This class represents a media resource participant. More...
#include <MediaResourceParticipant.hxx>
Public Types | |
| enum | ResourceType { Invalid , Tone , File , Cache , Http , Https , RecordMultiChannel , Record , Buffer } |
Public Types inherited from recon::Participant | |
| typedef std::map< ConversationHandle, Conversation * > | ConversationMap |
Protected Member Functions | |
| virtual void | startResourceImpl ()=0 |
| virtual bool | stopResource ()=0 |
| virtual ConversationManager & | getConversationManager () |
| virtual resip::Uri & | getMediaUrl () |
| virtual bool | isRepeat () |
| virtual void | setRepeat (bool repeat) |
| virtual bool | isPrefetch () |
| virtual unsigned int | getDurationMs () |
| virtual unsigned int | getStartOffsetMs () |
| virtual bool | isRunning () |
| virtual void | setRunning (bool running) |
| virtual bool | isDestroying () |
| virtual void | setDestroying (bool destroying) |
| virtual const std::shared_ptr< resip::Data > & | getAudioBuffer () |
Additional Inherited Members | |
Protected Attributes inherited from recon::Participant | |
| ParticipantHandle | mHandle |
| ConversationManager::ParticipantType | mType |
| unsigned int | mRecordChannelNum |
| ConversationManager & | mConversationManager |
| ConversationMap | mConversations |
This class represents a media resource participant.
A media resource participant is a representation of the a playing audio file or tone.
Author: Scott Godin (sgodin AT SipSpectrum DOT com)
Definition at line 40 of file MediaResourceParticipant.hxx.
| Enumerator | |
|---|---|
| Invalid | |
| Tone | |
| File | |
| Cache | |
| Http | |
| Https | |
| RecordMultiChannel | |
| Record | |
| Buffer | |
Definition at line 43 of file MediaResourceParticipant.hxx.
| MediaResourceParticipant::MediaResourceParticipant | ( | ParticipantHandle | partHandle, |
| ConversationManager & | conversationManager, | ||
| const resip::Uri & | mediaUrl, | ||
| const std::shared_ptr< resip::Data > & | audioBuffer | ||
| ) |
Definition at line 36 of file MediaResourceParticipant.cxx.
|
virtual |
Definition at line 97 of file MediaResourceParticipant.cxx.
|
virtual |
Implements recon::Participant.
Definition at line 184 of file MediaResourceParticipant.cxx.
|
inlineprotectedvirtual |
Definition at line 83 of file MediaResourceParticipant.hxx.
|
inlineprotectedvirtual |
Definition at line 72 of file MediaResourceParticipant.hxx.
Definition at line 77 of file MediaResourceParticipant.hxx.
|
inlineprotectedvirtual |
Definition at line 73 of file MediaResourceParticipant.hxx.
|
inlinevirtual |
Definition at line 65 of file MediaResourceParticipant.hxx.
Definition at line 78 of file MediaResourceParticipant.hxx.
|
virtual |
Implements recon::Participant.
Definition at line 103 of file MediaResourceParticipant.cxx.
|
virtual |
Implements recon::Participant.
Definition at line 110 of file MediaResourceParticipant.cxx.
Definition at line 81 of file MediaResourceParticipant.hxx.
Definition at line 76 of file MediaResourceParticipant.hxx.
Definition at line 74 of file MediaResourceParticipant.hxx.
Definition at line 79 of file MediaResourceParticipant.hxx.
|
virtual |
Definition at line 177 of file MediaResourceParticipant.cxx.
|
inlineprotectedvirtual |
Definition at line 82 of file MediaResourceParticipant.hxx.
Definition at line 75 of file MediaResourceParticipant.hxx.
Definition at line 80 of file MediaResourceParticipant.hxx.
|
virtual |
Definition at line 121 of file MediaResourceParticipant.cxx.
Implemented in recon::SipXMediaResourceParticipant.
Implemented in recon::SipXMediaResourceParticipant.