| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // Bitrate limits used for variable audio bitrate streams. Set both to -1 to | 93 // Bitrate limits used for variable audio bitrate streams. Set both to -1 to |
| 94 // disable audio bitrate adaptation. | 94 // disable audio bitrate adaptation. |
| 95 // Note: This is still an experimental feature and not ready for real usage. | 95 // Note: This is still an experimental feature and not ready for real usage. |
| 96 int min_bitrate_bps = -1; | 96 int min_bitrate_bps = -1; |
| 97 int max_bitrate_bps = -1; | 97 int max_bitrate_bps = -1; |
| 98 | 98 |
| 99 // Defines whether to turn on audio network adaptor, and defines its config | 99 // Defines whether to turn on audio network adaptor, and defines its config |
| 100 // string. | 100 // string. |
| 101 rtc::Optional<std::string> audio_network_adaptor_config; | 101 rtc::Optional<std::string> audio_network_adaptor_config; |
| 102 | 102 |
| 103 // Interval in which adapt codec is called. Default is an interval of 200ms. |
| 104 uint32_t adapt_codec_interval_ms = 200; |
| 105 |
| 103 struct SendCodecSpec { | 106 struct SendCodecSpec { |
| 104 SendCodecSpec(); | 107 SendCodecSpec(); |
| 105 std::string ToString() const; | 108 std::string ToString() const; |
| 106 | 109 |
| 107 bool operator==(const SendCodecSpec& rhs) const; | 110 bool operator==(const SendCodecSpec& rhs) const; |
| 108 bool operator!=(const SendCodecSpec& rhs) const { | 111 bool operator!=(const SendCodecSpec& rhs) const { |
| 109 return !(*this == rhs); | 112 return !(*this == rhs); |
| 110 } | 113 } |
| 111 | 114 |
| 112 bool nack_enabled = false; | 115 bool nack_enabled = false; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 136 virtual void SetMuted(bool muted) = 0; | 139 virtual void SetMuted(bool muted) = 0; |
| 137 | 140 |
| 138 virtual Stats GetStats() const = 0; | 141 virtual Stats GetStats() const = 0; |
| 139 | 142 |
| 140 protected: | 143 protected: |
| 141 virtual ~AudioSendStream() {} | 144 virtual ~AudioSendStream() {} |
| 142 }; | 145 }; |
| 143 } // namespace webrtc | 146 } // namespace webrtc |
| 144 | 147 |
| 145 #endif // WEBRTC_CALL_AUDIO_SEND_STREAM_H_ | 148 #endif // WEBRTC_CALL_AUDIO_SEND_STREAM_H_ |
| OLD | NEW |