Bug: webrtc:8760 Change-Id: I0b11ec66b0f2576f52866864ba046191034a4d2d Reviewed-on: https://webrtc-review.googlesource.com/39003 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Noah Richards <noahric@chromium.org> Cr-Commit-Position: refs/heads/master@{#21801}
32 lines
836 B
C++
32 lines
836 B
C++
/*
|
|
* Copyright 2004 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef PC_AUDIOMONITOR_H_
|
|
#define PC_AUDIOMONITOR_H_
|
|
|
|
#include <vector>
|
|
#include <utility>
|
|
|
|
// For ConnectionInfo/ConnectionInfos
|
|
#include "p2p/base/port.h"
|
|
|
|
namespace cricket {
|
|
|
|
struct AudioInfo {
|
|
int input_level;
|
|
int output_level;
|
|
typedef std::vector<std::pair<uint32_t, int> > StreamList;
|
|
StreamList active_streams; // ssrcs contributing to output_level
|
|
};
|
|
|
|
} // namespace cricket
|
|
|
|
#endif // PC_AUDIOMONITOR_H_
|