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

This is the base class for a GstRemoteParticipant, GstLocalParticipant and a GstMediaResourceParticipant. More...

#include <GstParticipant.hxx>

Inheritance diagram for recon::GstParticipant:
[legend]

Public Member Functions

 GstParticipant (ParticipantHandle partHandle, ConversationManager::ParticipantType participantType, ConversationManager &conversationManager, GstMediaStackAdapter &gstreamerMediaStackAdapter)
 
 GstParticipant (ConversationManager::ParticipantType participantType, ConversationManager &conversationManager, GstMediaStackAdapter &gstreamerMediaStackAdapter)
 
virtual ~GstParticipant ()
 
- 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 addToConversation (Conversation *conversation, unsigned int inputGain=100, unsigned int outputGain=100)
 
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 int getConnectionPortOnBridge ()=0
 
virtual bool hasInput ()=0
 
virtual bool hasOutput ()=0
 
virtual void applyBridgeMixWeights ()
 
virtual void applyBridgeMixWeights (Conversation *removedConversation)
 
virtual void destroyParticipant ()=0
 

Protected Attributes

GstMediaStackAdapter & mGstMediaStackAdapter
 
- Protected Attributes inherited from recon::Participant
ParticipantHandle mHandle
 
ConversationManager::ParticipantType mType
 
unsigned int mRecordChannelNum
 
ConversationManager & mConversationManager
 
ConversationMap mConversations
 

Additional Inherited Members

- Public Types inherited from recon::Participant
typedef std::map< ConversationHandle, Conversation * > ConversationMap
 

Detailed Description

This is the base class for a GstRemoteParticipant, GstLocalParticipant and a GstMediaResourceParticipant.

It implements the common functionality of all Gst participants, such as managing the media interface.

Definition at line 17 of file GstParticipant.hxx.

Constructor & Destructor Documentation

◆ GstParticipant() [1/2]

GstParticipant::GstParticipant ( ParticipantHandle  partHandle,
ConversationManager::ParticipantType  participantType,
ConversationManager &  conversationManager,
GstMediaStackAdapter &  gstreamerMediaStackAdapter 
)

Definition at line 16 of file GstParticipant.cxx.

◆ GstParticipant() [2/2]

GstParticipant::GstParticipant ( ConversationManager::ParticipantType  participantType,
ConversationManager &  conversationManager,
GstMediaStackAdapter &  gstreamerMediaStackAdapter 
)

Definition at line 25 of file GstParticipant.cxx.

◆ ~GstParticipant()

GstParticipant::~GstParticipant ( )
virtual

Definition at line 33 of file GstParticipant.cxx.

Member Data Documentation

◆ mGstMediaStackAdapter

GstMediaStackAdapter& recon::GstParticipant::mGstMediaStackAdapter
protected

Definition at line 33 of file GstParticipant.hxx.


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