reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
recon::KurentoConversation Class Reference

This class is used to manage membership of participants. More...

#include <KurentoConversation.hxx>

Inheritance diagram for recon::KurentoConversation:
[legend]

Public Member Functions

 KurentoConversation (ConversationHandle handle, ConversationManager &conversationManager, KurentoMediaStackAdapter &kurentoMediaStackAdapter, RelatedConversationSet *relatedConversationSet, ConversationHandle sharedMediaInterfaceConvHandle, ConversationManager::AutoHoldMode autoHoldMode)
 
virtual ~KurentoConversation ()
 
virtual void confirmParticipant (Participant *participant)
 
- Public Member Functions inherited from recon::Conversation
virtual ~Conversation ()
 
void addParticipant (Participant *participant, unsigned int inputGain=100, unsigned int outputGain=100)
 
void removeParticipant (Participant *participant)
 
void modifyParticipantContribution (Participant *participant, unsigned int inputGain, unsigned int outputGain)
 
unsigned int getNumLocalParticipants ()
 
unsigned int getNumRemoteParticipants ()
 
unsigned int getNumRemoteIMParticipants ()
 
unsigned int getNumMediaParticipants ()
 
bool shouldHold ()
 
bool broadcastOnly ()
 
void notifyRemoteParticipantsOfHoldChange ()
 
void relayInstantMessageToRemoteParticipants (ParticipantHandle sourceParticipant, const resip::Data &senderDisplayName, const resip::SipMessage &msg)
 
void createRelatedConversation (RemoteParticipant *newForkedParticipant, ParticipantHandle origParticipantHandle)
 
void join (Conversation *conversation)
 
void destroy ()
 
ConversationHandle getHandle ()
 
void setMaxParticipants (unsigned int maxParticipants)
 
unsigned int getMaxParticipants () const
 

Protected Member Functions

virtual void onParticipantAdded (Participant *participant)
 
virtual void onParticipantRemoved (Participant *participant)
 
- Protected Member Functions inherited from recon::Conversation
 Conversation (ConversationHandle handle, ConversationManager &conversationManager, RelatedConversationSet *relatedConversationSet, ConversationHandle sharedMediaInterfaceConvHandle, ConversationManager::AutoHoldMode autoHoldMode, unsigned int maxParticipants=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 ()
 

Friends

class Participant
 
class KurentoParticipant
 
class LocalParticipant
 
class KurentoLocalParticipant
 
class RemoteParticipant
 
class KurentoRemoteParticipant
 
class MediaResourceParticipant
 
class KurentoMediaResourceParticipant
 
class BridgeMixer
 
class KurentoBridgeMixer
 
class AddParticipantCmd
 
class JoinConversationCmd
 
class MoveParticipantCmd
 
class ConversationManager
 
class KurentoMediaStackAdapter
 

Additional Inherited Members

- Protected Types inherited from recon::Conversation
typedef std::map< ParticipantHandle, ConversationParticipantAssignment > ParticipantMap
 

Detailed Description

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.

Definition at line 31 of file KurentoConversation.hxx.

Constructor & Destructor Documentation

◆ KurentoConversation()

KurentoConversation::KurentoConversation ( ConversationHandle  handle,
ConversationManager &  conversationManager,
KurentoMediaStackAdapter &  kurentoMediaStackAdapter,
RelatedConversationSet *  relatedConversationSet,
ConversationHandle  sharedMediaInterfaceConvHandle,
ConversationManager::AutoHoldMode  autoHoldMode 
)

Definition at line 29 of file KurentoConversation.cxx.

◆ ~KurentoConversation()

KurentoConversation::~KurentoConversation ( )
virtual

Definition at line 67 of file KurentoConversation.cxx.

Member Function Documentation

◆ confirmParticipant()

void KurentoConversation::confirmParticipant ( Participant *  participant)
virtual

Reimplemented from recon::Conversation.

Definition at line 99 of file KurentoConversation.cxx.

◆ onParticipantAdded()

void KurentoConversation::onParticipantAdded ( Participant *  participant)
protectedvirtual

Implements recon::Conversation.

Definition at line 74 of file KurentoConversation.cxx.

◆ onParticipantRemoved()

void KurentoConversation::onParticipantRemoved ( Participant *  participant)
protectedvirtual

Implements recon::Conversation.

Definition at line 181 of file KurentoConversation.cxx.

Friends And Related Symbol Documentation

◆ AddParticipantCmd

Definition at line 57 of file KurentoConversation.hxx.

◆ BridgeMixer

Definition at line 54 of file KurentoConversation.hxx.

◆ ConversationManager

Definition at line 72 of file KurentoConversation.hxx.

◆ JoinConversationCmd

Definition at line 58 of file KurentoConversation.hxx.

◆ KurentoBridgeMixer

Definition at line 55 of file KurentoConversation.hxx.

◆ KurentoLocalParticipant

friend class KurentoLocalParticipant
friend

Definition at line 48 of file KurentoConversation.hxx.

◆ KurentoMediaResourceParticipant

friend class KurentoMediaResourceParticipant
friend

Definition at line 52 of file KurentoConversation.hxx.

◆ KurentoMediaStackAdapter

Definition at line 73 of file KurentoConversation.hxx.

◆ KurentoParticipant

Definition at line 46 of file KurentoConversation.hxx.

◆ KurentoRemoteParticipant

Definition at line 50 of file KurentoConversation.hxx.

◆ LocalParticipant

Definition at line 47 of file KurentoConversation.hxx.

◆ MediaResourceParticipant

Definition at line 51 of file KurentoConversation.hxx.

◆ MoveParticipantCmd

Definition at line 59 of file KurentoConversation.hxx.

◆ Participant

Definition at line 45 of file KurentoConversation.hxx.

◆ RemoteParticipant

Definition at line 49 of file KurentoConversation.hxx.


The documentation for this class was generated from the following files: