reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
LibWebRTCBridgeMixer.hxx
Go to the documentation of this file.
1#if !defined(LibWebRTCBridgeMixer_hxx)
2#define LibWebRTCBridgeMixer_hxx
3
4#ifdef HAVE_CONFIG_H
5#include "config.h"
6#endif
7
8#if (_MSC_VER >= 1600)
9#include <stdint.h> // Use Visual Studio's stdint.h
10#define _MSC_STDINT_H_ // This define will ensure that stdint.h in sipXport tree is not used
11#endif
12
13#include <cstdint>
14
15#include "BridgeMixer.hxx"
16
17namespace recon
18{
19class ConversationManager;
20class Participant;
21
31{
32public:
39 virtual ~LibWebRTCBridgeMixer();
40
50
56
57private:
58 typedef int16_t LibWebRTCBridgeGain;
59 LibWebRTCBridgeGain mMixMatrix[DEFAULT_BRIDGE_MAX_IN_OUTPUTS][DEFAULT_BRIDGE_MAX_IN_OUTPUTS];
60};
61
62}
63
64#endif
65
66
67/* ====================================================================
68
69 Copyright (c) 2022, Software Freedom Institute https://softwarefreedom.institute
70 Copyright (c) 2022, Daniel Pocock https://danielpocock.com
71 Copyright (c) 2021, SIP Spectrum, Inc. www.sipspectrum.com
72 Copyright (c) 2007-2008, Plantronics, Inc.
73 All rights reserved.
74
75 Redistribution and use in source and binary forms, with or without
76 modification, are permitted provided that the following conditions are
77 met:
78
79 1. Redistributions of source code must retain the above copyright
80 notice, this list of conditions and the following disclaimer.
81
82 2. Redistributions in binary form must reproduce the above copyright
83 notice, this list of conditions and the following disclaimer in the
84 documentation and/or other materials provided with the distribution.
85
86 3. Neither the name of Plantronics nor the names of its contributors
87 may be used to endorse or promote products derived from this
88 software without specific prior written permission.
89
90 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
91 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
92 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
93 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
94 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
95 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
96 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
97 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
98 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
99 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
100 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
101
102 ==================================================================== */
This class is used to control the sipX Bridge Mixer mix matrix.
This class is used to control the sipX Bridge Mixer mix matrix.
void calculateMixWeightsForParticipant(Participant *participant)
Calculates all of the current mixer settings required for the passed in participant and applies them.
void outputBridgeMixWeights()
Logs a multiline representation of the current state of the mixing matrix.
This is the base class for a RemoteParticipant, LocalParticipant and a MediaResourceParticipant.
signed short int16_t
Definition stdint.h:81
void list()
Definition userAdmin.cxx:66