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

This class represents a local participant. More...

#include <SipXLocalParticipant.hxx>

Inheritance diagram for recon::SipXLocalParticipant:
[legend]

Public Member Functions

 SipXLocalParticipant (ParticipantHandle partHandle, ConversationManager &conversationManager, SipXMediaStackAdapter &sipXMediaStackAdapter)
 
virtual ~SipXLocalParticipant ()
 
virtual int getConnectionPortOnBridge ()
 
virtual bool hasInput ()
 
virtual bool hasOutput ()
 
virtual void addToConversation (Conversation *conversation, unsigned int inputGain=100, unsigned int outputGain=100)
 
- Public Member Functions inherited from recon::LocalParticipant
 LocalParticipant (ParticipantHandle partHandle, ConversationManager &conversationManager)
 
virtual ~LocalParticipant ()
 
virtual void destroyParticipant ()
 
- Public Member Functions inherited from recon::Participant
 Participant (ParticipantHandle partHandle, ConversationManager::ParticipantType participantType, ConversationManager &conversationManager)
 
 Participant (ConversationManager::ParticipantType participantType, ConversationManager &conversationManager)
 
virtual ~Participant ()
 
virtual ParticipantHandle getParticipantHandle ()
 
virtual ConversationManager::ParticipantType getParticipantType ()
 
virtual void setRecordChannelNum (unsigned int channelNum)
 
virtual unsigned int getRecordChannelNum ()
 
virtual void removeFromConversation (Conversation *conversation)
 
virtual void unregisterFromAllConversations ()
 
virtual void copyConversationsToParticipant (Participant *destParticipant)
 
virtual unsigned int getNumConversations ()
 
const ConversationMap & getConversations ()
 
virtual void setHandle (ParticipantHandle partHandle)
 
virtual void replaceWithParticipant (Participant *replacingParticipant)
 
virtual void applyBridgeMixWeights ()
 
virtual void applyBridgeMixWeights (Conversation *removedConversation)
 
- Public Member Functions inherited from recon::SipXParticipant
 SipXParticipant (ParticipantHandle partHandle, ConversationManager::ParticipantType partType, ConversationManager &conversationManager, SipXMediaStackAdapter &sipXMediaStackAdapter)
 
 SipXParticipant (ConversationManager::ParticipantType partType, ConversationManager &conversationManager, SipXMediaStackAdapter &sipXMediaStackAdapter)
 
virtual ~SipXParticipant ()
 
virtual std::shared_ptr< SipXMediaInterface > getMediaInterface ()
 

Additional Inherited Members

- Public Types inherited from recon::Participant
typedef std::map< ConversationHandle, Conversation * > ConversationMap
 
- Protected Attributes inherited from recon::Participant
ParticipantHandle mHandle
 
ConversationManager::ParticipantType mType
 
unsigned int mRecordChannelNum
 
ConversationManager & mConversationManager
 
ConversationMap mConversations
 
- Protected Attributes inherited from recon::SipXParticipant
SipXMediaStackAdapter & mSipXMediaStackAdapter
 

Detailed Description

This class represents a local participant.

A local participant is a representation of the local source (speaker) and sink (microphone). The local participant is generally only created once and is added to conversations in which the local speaker and/or microphone should be involved.

Author: Scott Godin (sgodin AT SipSpectrum DOT com)

Definition at line 29 of file SipXLocalParticipant.hxx.

Constructor & Destructor Documentation

◆ SipXLocalParticipant()

SipXLocalParticipant::SipXLocalParticipant ( ParticipantHandle  partHandle,
ConversationManager &  conversationManager,
SipXMediaStackAdapter &  sipXMediaStackAdapter 
)

Definition at line 18 of file SipXLocalParticipant.cxx.

◆ ~SipXLocalParticipant()

SipXLocalParticipant::~SipXLocalParticipant ( )
virtual

Definition at line 29 of file SipXLocalParticipant.cxx.

Member Function Documentation

◆ addToConversation()

void SipXLocalParticipant::addToConversation ( Conversation *  conversation,
unsigned int  inputGain = 100,
unsigned int  outputGain = 100 
)
virtual

Reimplemented from recon::Participant.

Definition at line 54 of file SipXLocalParticipant.cxx.

◆ getConnectionPortOnBridge()

int SipXLocalParticipant::getConnectionPortOnBridge ( )
virtual

Implements recon::Participant.

Definition at line 42 of file SipXLocalParticipant.cxx.

◆ hasInput()

virtual bool recon::SipXLocalParticipant::hasInput ( )
inlinevirtual

Implements recon::Participant.

Definition at line 38 of file SipXLocalParticipant.hxx.

◆ hasOutput()

virtual bool recon::SipXLocalParticipant::hasOutput ( )
inlinevirtual

Implements recon::Participant.

Definition at line 39 of file SipXLocalParticipant.hxx.


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