blob: b03d248cda7a9948432f9add825c81ef8a1553cf [file] [log] [blame]
stefan@webrtc.orgda3ae7c2013-12-04 10:24:26 +00001/*
2 * Copyright (c) 2013 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_EXPERIMENTS_H_
12#define WEBRTC_EXPERIMENTS_H_
13
sprang@webrtc.orgea590612014-02-25 09:17:43 +000014#include "webrtc/typedefs.h"
15
stefan@webrtc.orgda3ae7c2013-12-04 10:24:26 +000016namespace webrtc {
17struct PaddingStrategy {
18 PaddingStrategy()
19 : redundant_payloads(false) {}
20 explicit PaddingStrategy(bool redundant_payloads)
21 : redundant_payloads(redundant_payloads) {}
22 virtual ~PaddingStrategy() {}
23
24 const bool redundant_payloads;
25};
henrik.lundin@webrtc.org49e9e152014-01-29 08:47:15 +000026
27struct RemoteBitrateEstimatorMinRate {
28 RemoteBitrateEstimatorMinRate() : min_rate(30000) {}
29 RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}
30
31 uint32_t min_rate;
32};
sprang@webrtc.org85835a02014-02-10 09:20:51 +000033
34struct SkipEncodingUnusedStreams {
35 SkipEncodingUnusedStreams() : enabled(false) {}
36 explicit SkipEncodingUnusedStreams(bool set_enabled)
37 : enabled(set_enabled) {}
38 virtual ~SkipEncodingUnusedStreams() {}
39
40 const bool enabled;
41};
stefan@webrtc.org1f492082014-03-25 10:37:31 +000042
43struct AimdRemoteRateControl {
44 AimdRemoteRateControl() : enabled(false) {}
45 explicit AimdRemoteRateControl(bool set_enabled)
46 : enabled(set_enabled) {}
47 virtual ~AimdRemoteRateControl() {}
48
49 const bool enabled;
50};
stefan@webrtc.orgda3ae7c2013-12-04 10:24:26 +000051} // namespace webrtc
52#endif // WEBRTC_EXPERIMENTS_H_