15#define RESIPROCATE_SUBSYSTEM ReconSubsystem::RECON
21 mType(participantType),
23 mConversationManager(conversationManager)
32 mType(participantType),
34 mConversationManager(conversationManager)
52 if(
mHandle == partHandle)
return;
72 InfoLog(<<
"Participant handle=" <<
mHandle <<
" added to conversation=" << conversation->
getHandle() <<
", inputGain=" << inputGain <<
", outputGain=" << outputGain);
91 ConversationMap::iterator it;
94 it->second->unregisterParticipant(
this);
102 ConversationMap::iterator it;
125 firstAssociatedConversation != 0);
#define resip_assert(x)
This file needs to work for both C and C++ code.
This class is used to control the sipX Bridge Mixer mix matrix.
virtual void calculateMixWeightsForParticipant(Participant *participant)=0
Calculates all of the current mixer settings required for the passed in participant and applies them.
This class is one of two main classes of concern to an application using the UserAgent library.
ParticipantHandle getNewParticipantHandle()
MediaStackAdapter & getMediaStackAdapter()
std::shared_ptr< BridgeMixer > & getBridgeMixer()
virtual void onParticipantDestroyed(ParticipantHandle partHandle)=0
Notifies an application when a Participant has been destroyed.
This class is used to manage membership of participants.
BridgeMixer * getBridgeMixer() noexcept
ConversationHandle getHandle()
void registerParticipant(Participant *, unsigned int inputGain=100, unsigned int outputGain=100)
void unregisterParticipant(Participant *)
This is the base class for a RemoteParticipant, LocalParticipant and a MediaResourceParticipant.
virtual void removeFromConversation(Conversation *conversation)
virtual void applyBridgeMixWeights()
ConversationMap mConversations
ConversationManager::ParticipantType mType
virtual void setHandle(ParticipantHandle partHandle)
Participant(ParticipantHandle partHandle, ConversationManager::ParticipantType participantType, ConversationManager &conversationManager)
virtual void addToConversation(Conversation *conversation, unsigned int inputGain=100, unsigned int outputGain=100)
virtual void unregisterFromAllConversations()
ParticipantHandle mHandle
virtual void replaceWithParticipant(Participant *replacingParticipant)
virtual void copyConversationsToParticipant(Participant *destParticipant)
virtual int getConnectionPortOnBridge()=0
ConversationManager & mConversationManager
unsigned int ParticipantHandle
dcm! – add UnusedChecking(_enum) below;