reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
SipXLocalParticipant.hxx
Go to the documentation of this file.
1#if !defined(SipXLocalParticipant_hxx)
2#define SipXLocalParticipant_hxx
3
6#include "SipXParticipant.hxx"
7
8// Disable warning 4250
9// VS2019 give a 4250 warning:
10// SipXLocalParticipant.hxx(36,1): warning C4250: 'recon::SipXLocalParticipant': inherits 'recon::LocalParticipant::recon::LocalParticipant::destroyParticipant' via dominance
11#if defined(WIN32) && !defined(__GNUC__)
12#pragma warning( disable : 4250 )
13#endif
14
15namespace recon
16{
17class ConversationManager;
18
29class SipXLocalParticipant : public virtual LocalParticipant, public virtual SipXParticipant
30{
31 public:
35 virtual ~SipXLocalParticipant();
36
37 virtual int getConnectionPortOnBridge();
38 virtual bool hasInput() { return true; }
39 virtual bool hasOutput() { return true; }
40 virtual void addToConversation(Conversation *conversation, unsigned int inputGain = 100, unsigned int outputGain = 100);
41
42 private:
43 int mLocalPortOnBridge;
44};
45
46}
47
48#endif
49
50
51/* ====================================================================
52
53 Copyright (c) 2021, SIP Spectrum, Inc. www.sipspectrum.com
54 Copyright (c) 2021, Daniel Pocock https://danielpocock.com
55 Copyright (c) 2007-2008, Plantronics, Inc.
56 All rights reserved.
57
58 Redistribution and use in source and binary forms, with or without
59 modification, are permitted provided that the following conditions are
60 met:
61
62 1. Redistributions of source code must retain the above copyright
63 notice, this list of conditions and the following disclaimer.
64
65 2. Redistributions in binary form must reproduce the above copyright
66 notice, this list of conditions and the following disclaimer in the
67 documentation and/or other materials provided with the distribution.
68
69 3. Neither the name of Plantronics nor the names of its contributors
70 may be used to endorse or promote products derived from this
71 software without specific prior written permission.
72
73 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
74 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
75 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
76 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
77 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
78 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
79 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
80 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
81 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
82 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
83 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
84
85 ==================================================================== */
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 represents a local participant.
This class represents a local participant.
virtual void addToConversation(Conversation *conversation, unsigned int inputGain=100, unsigned int outputGain=100)
This class is one of two main classes of concern to an application using the UserAgent library.
This is the base class for a SipXRemoteParticipant, SipXLocalParticipant and a SipXMediaResourceParti...
unsigned int ParticipantHandle
void list()
Definition userAdmin.cxx:66