|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
This class is used to manage membership of participants. More...
#include <Conversation.hxx>
Protected Types | |
| typedef std::map< ParticipantHandle, ConversationParticipantAssignment > | ParticipantMap |
Protected Member Functions | |
| Conversation (ConversationHandle handle, ConversationManager &conversationManager, RelatedConversationSet *relatedConversationSet, ConversationHandle sharedMediaInterfaceConvHandle, ConversationManager::AutoHoldMode autoHoldMode, unsigned int maxParticipants=0) | |
| virtual void | onParticipantAdded (Participant *participant)=0 |
| virtual void | onParticipantRemoved (Participant *participant)=0 |
| std::shared_ptr< resip::ConfigParse > | getConfig () |
| void | registerParticipant (Participant *, unsigned int inputGain=100, unsigned int outputGain=100) |
| void | unregisterParticipant (Participant *) |
| ParticipantMap & | getParticipants () |
| BridgeMixer * | getBridgeMixer () noexcept |
| std::shared_ptr< BridgeMixer > | getBridgeMixerShared () |
| virtual void | setBridgeMixer (std::shared_ptr< BridgeMixer > mixer) |
| virtual bool | isSharingMediaInterfaceWithAnotherConversation () |
| virtual ConversationManager & | getConversationManager () |
This class is used to manage membership of participants.
Conversations are used to designate the audio properties between a number of managed participants. By default all participants in a Conversation can talk to and hear all other participants. A modified participants contribution setting to a conversation can change this.
If a remote participant is a sole member in a conversation, then he/she will be put on hold for the default AutoHoldMode of enabled.
Author: Scott Godin (sgodin AT SipSpectrum DOT com)
Definition at line 31 of file Conversation.hxx.
|
protected |
Definition at line 89 of file Conversation.hxx.
|
protected |
Definition at line 24 of file Conversation.cxx.
|
virtual |
Definition at line 70 of file Conversation.cxx.
| void Conversation::addParticipant | ( | Participant * | participant, |
| unsigned int | inputGain = 100, |
||
| unsigned int | outputGain = 100 |
||
| ) |
Definition at line 97 of file Conversation.cxx.
| bool Conversation::broadcastOnly | ( | ) |
Definition at line 152 of file Conversation.cxx.
|
inlinevirtual |
Reimplemented in recon::GstConversation, recon::KurentoConversation, and recon::LibWebRTCConversation.
Definition at line 67 of file Conversation.hxx.
| void Conversation::createRelatedConversation | ( | RemoteParticipant * | newForkedParticipant, |
| ParticipantHandle | origParticipantHandle | ||
| ) |
Definition at line 224 of file Conversation.cxx.
| void Conversation::destroy | ( | ) |
Definition at line 265 of file Conversation.cxx.
|
inlineprotectednoexcept |
Definition at line 103 of file Conversation.hxx.
|
inlineprotected |
Definition at line 104 of file Conversation.hxx.
|
inlineprotected |
Definition at line 70 of file Conversation.hxx.
|
inlineprotectedvirtual |
Definition at line 108 of file Conversation.hxx.
|
inline |
Definition at line 63 of file Conversation.hxx.
Definition at line 65 of file Conversation.hxx.
Definition at line 49 of file Conversation.hxx.
Definition at line 52 of file Conversation.hxx.
Definition at line 51 of file Conversation.hxx.
Definition at line 50 of file Conversation.hxx.
|
inlineprotected |
Definition at line 90 of file Conversation.hxx.
|
inlineprotectedvirtual |
Definition at line 106 of file Conversation.hxx.
| void Conversation::join | ( | Conversation * | conversation | ) |
Definition at line 253 of file Conversation.cxx.
| void Conversation::modifyParticipantContribution | ( | Participant * | participant, |
| unsigned int | inputGain, | ||
| unsigned int | outputGain | ||
| ) |
Definition at line 123 of file Conversation.cxx.
| void Conversation::notifyRemoteParticipantsOfHoldChange | ( | ) |
Definition at line 158 of file Conversation.cxx.
|
protectedpure virtual |
Implemented in recon::GstConversation, recon::KurentoConversation, recon::LibWebRTCConversation, and recon::SipXConversation.
|
protectedpure virtual |
Implemented in recon::GstConversation, recon::KurentoConversation, recon::LibWebRTCConversation, and recon::SipXConversation.
|
protected |
Definition at line 301 of file Conversation.cxx.
| void Conversation::relayInstantMessageToRemoteParticipants | ( | ParticipantHandle | sourceParticipant, |
| const resip::Data & | senderDisplayName, | ||
| const resip::SipMessage & | msg | ||
| ) |
Definition at line 172 of file Conversation.cxx.
| void Conversation::removeParticipant | ( | Participant * | participant | ) |
Definition at line 113 of file Conversation.cxx.
|
inlineprotectedvirtual |
Definition at line 105 of file Conversation.hxx.
Definition at line 64 of file Conversation.hxx.
| bool Conversation::shouldHold | ( | ) |
Definition at line 135 of file Conversation.cxx.
|
protected |
Definition at line 348 of file Conversation.cxx.
|
friend |
Definition at line 92 of file Conversation.hxx.
|
friend |
Definition at line 84 of file Conversation.hxx.
|
friend |
Definition at line 98 of file Conversation.hxx.
|
friend |
Definition at line 87 of file Conversation.hxx.
|
friend |
Definition at line 101 of file Conversation.hxx.
|
friend |
Definition at line 93 of file Conversation.hxx.
|
friend |
Definition at line 86 of file Conversation.hxx.
|
friend |
Definition at line 100 of file Conversation.hxx.
|
friend |
Definition at line 78 of file Conversation.hxx.
|
friend |
Definition at line 88 of file Conversation.hxx.
Definition at line 102 of file Conversation.hxx.
|
friend |
Definition at line 74 of file Conversation.hxx.
|
friend |
Definition at line 79 of file Conversation.hxx.
|
friend |
Definition at line 94 of file Conversation.hxx.
|
friend |
Definition at line 72 of file Conversation.hxx.
|
friend |
Definition at line 76 of file Conversation.hxx.
|
friend |
Definition at line 85 of file Conversation.hxx.
|
friend |
Definition at line 75 of file Conversation.hxx.
Definition at line 80 of file Conversation.hxx.
|
friend |
Definition at line 99 of file Conversation.hxx.
|
friend |
Definition at line 73 of file Conversation.hxx.
|
friend |
Definition at line 77 of file Conversation.hxx.