Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Side by Side Diff: webrtc/api/rtpparameters.h

Issue 1788583004: Enable setting the maximum bitrate limit in RtpSender. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased on top of the latest master branch Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/mediastreamprovider.h ('k') | webrtc/api/rtpsender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_API_TEST_ANDROIDTESTINITIALIZER_H_ 11 #ifndef WEBRTC_API_RTPPARAMETERS_H_
12 #define WEBRTC_API_TEST_ANDROIDTESTINITIALIZER_H_ 12 #define WEBRTC_API_RTPPARAMETERS_H_
13
14 #include <vector>
13 15
14 namespace webrtc { 16 namespace webrtc {
15 17
16 void InitializeAndroidObjects(); 18 // These structures are defined as part of the RtpSender interface.
19 // See http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface for details.
20 struct RtpEncodingParameters {
21 int max_bitrate_bps = -1;
22 };
23
24 struct RtpParameters {
25 std::vector<RtpEncodingParameters> encodings;
26 };
17 27
18 } // namespace webrtc 28 } // namespace webrtc
19 29
20 #endif // WEBRTC_API_TEST_ANDROIDTESTINITIALIZER_H_ 30 #endif // WEBRTC_API_RTPPARAMETERS_H_
OLDNEW
« no previous file with comments | « webrtc/api/mediastreamprovider.h ('k') | webrtc/api/rtpsender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698