blob: 2c29d9843d9ee597c81e313e2476f05344065b40 [file] [log] [blame]
skvladdc1c62c2016-03-16 19:07:43 -07001/*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 *
4 * 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.
9 */
10
11#ifndef WEBRTC_API_RTPPARAMETERS_H_
12#define WEBRTC_API_RTPPARAMETERS_H_
13
14#include <vector>
15
16namespace webrtc {
17
18// These structures are defined as part of the RtpSender interface.
19// See http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface for details.
20struct RtpEncodingParameters {
deadbeefdbe2b872016-03-22 15:42:00 -070021 bool active = true;
skvladdc1c62c2016-03-16 19:07:43 -070022 int max_bitrate_bps = -1;
23};
24
25struct RtpParameters {
26 std::vector<RtpEncodingParameters> encodings;
27};
28
29} // namespace webrtc
30
31#endif // WEBRTC_API_RTPPARAMETERS_H_