reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
KurentoConversation.hxx
Go to the documentation of this file.
1#if !defined(KurentoConversation_hxx)
2#define KurentoConversation_hxx
3
4#include "Conversation.hxx"
8
9namespace recon
10{
11class Participant;
12class LocalParticipant;
13class RemoteParticipant;
14class RelatedConversationSet;
15class BridgeMixer;
16
32{
33public:
37 RelatedConversationSet* relatedConversationSet, // Pass NULL to create new RelatedConversationSet
40 virtual ~KurentoConversation();
41
43
44protected:
45 friend class Participant;
46 friend class KurentoParticipant;
47 friend class LocalParticipant;
49 friend class RemoteParticipant;
53
54 friend class BridgeMixer;
55 friend class KurentoBridgeMixer;
56
57 friend class AddParticipantCmd;
58 friend class JoinConversationCmd;
59 friend class MoveParticipantCmd;
60 //std::shared_ptr<KurentoMediaInterface> getMediaInterface() const { resip_assert(mMediaInterface); return mMediaInterface; }
61
64
65private:
66 void disconnectWaitingMode(KurentoRemoteParticipant *krp, kurento::ContinuationVoid c);
67
68 KurentoMediaStackAdapter& mKurentoMediaStackAdapter;
69 bool mKurentoReInviteOnParticipantsPresent;
70
71 // sipX Media related members
72 friend class ConversationManager;
74 // Note: these are only set here if sipXConversationMediaInterfaceMode is used
75 //std::shared_ptr<KurentoMediaInterface> mMediaInterface;
76};
77
78}
79
80#endif
81
82
83/* ====================================================================
84
85 Copyright (c) 2021, SIP Spectrum, Inc.
86 Copyright (c) 2021, Daniel Pocock https://danielpocock.com
87 Copyright (c) 2007-2008, Plantronics, Inc.
88 All rights reserved.
89
90 Redistribution and use in source and binary forms, with or without
91 modification, are permitted provided that the following conditions are
92 met:
93
94 1. Redistributions of source code must retain the above copyright
95 notice, this list of conditions and the following disclaimer.
96
97 2. Redistributions in binary form must reproduce the above copyright
98 notice, this list of conditions and the following disclaimer in the
99 documentation and/or other materials provided with the distribution.
100
101 3. Neither the name of Plantronics nor the names of its contributors
102 may be used to endorse or promote products derived from this
103 software without specific prior written permission.
104
105 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
106 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
107 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
108 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
109 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
110 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
111 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
112 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
113 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
114 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
115 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
116
117 ==================================================================== */
This class is used to control the sipX Bridge Mixer mix matrix.
This class is one of two main classes of concern to an application using the UserAgent library.
This class is used to manage membership of participants.
This class is used to control the sipX Bridge Mixer mix matrix.
This class is used to manage membership of participants.
virtual void confirmParticipant(Participant *participant)
virtual void onParticipantRemoved(Participant *participant)
virtual void onParticipantAdded(Participant *participant)
This class is one of two main classes of concern to an application using the UserAgent library.
This is the base class for a KurentoRemoteParticipant, KurentoLocalParticipant and a KurentoMediaReso...
This class represent a remote participant.
This class represents a local participant.
This class represents a media resource participant.
This is the base class for a RemoteParticipant, LocalParticipant and a MediaResourceParticipant.
This is used to keep a mapping between all related conversations.
This class represent a remote participant.
std::function< void(void) > ContinuationVoid
unsigned int ConversationHandle
void list()
Definition userAdmin.cxx:66