blob: 61edd32c1c8ced268496db28e28f2a832f9ad90a [file] [log] [blame]
henrike@webrtc.org28e20752013-07-10 00:45:36 +00001/*
kjellander65c7f672016-02-12 00:05:01 -08002 * Copyright 2004 The WebRTC project authors. All Rights Reserved.
henrike@webrtc.org28e20752013-07-10 00:45:36 +00003 *
kjellander65c7f672016-02-12 00:05:01 -08004 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
henrike@webrtc.org28e20752013-07-10 00:45:36 +00009 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#ifndef PC_AUDIOMONITOR_H_
12#define PC_AUDIOMONITOR_H_
henrike@webrtc.org28e20752013-07-10 00:45:36 +000013
buildbot@webrtc.orga09a9992014-08-13 17:26:08 +000014#include <vector>
terelius8c011e52016-04-26 05:28:11 -070015#include <utility>
16
Niels Möllerf120cba2018-01-30 09:33:03 +010017// For ConnectionInfo/ConnectionInfos
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020018#include "p2p/base/port.h"
henrike@webrtc.org28e20752013-07-10 00:45:36 +000019
20namespace cricket {
21
henrike@webrtc.org28e20752013-07-10 00:45:36 +000022struct AudioInfo {
23 int input_level;
24 int output_level;
Peter Boström0c4e06b2015-10-07 12:23:21 +020025 typedef std::vector<std::pair<uint32_t, int> > StreamList;
terelius8c011e52016-04-26 05:28:11 -070026 StreamList active_streams; // ssrcs contributing to output_level
henrike@webrtc.org28e20752013-07-10 00:45:36 +000027};
28
terelius8c011e52016-04-26 05:28:11 -070029} // namespace cricket
henrike@webrtc.org28e20752013-07-10 00:45:36 +000030
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020031#endif // PC_AUDIOMONITOR_H_