| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 // Underlying VoiceEngine handle, used to map AudioSendStream to lower-level | 83 // Underlying VoiceEngine handle, used to map AudioSendStream to lower-level |
| 84 // components. | 84 // components. |
| 85 // TODO(solenberg): Remove when VoiceEngine channels are created outside | 85 // TODO(solenberg): Remove when VoiceEngine channels are created outside |
| 86 // of Call. | 86 // of Call. |
| 87 int voe_channel_id = -1; | 87 int voe_channel_id = -1; |
| 88 | 88 |
| 89 // Bitrate limits used for variable audio bitrate streams. Set both to -1 to | 89 // Bitrate limits used for variable audio bitrate streams. Set both to -1 to |
| 90 // disable audio bitrate adaptation. | 90 // disable audio bitrate adaptation. |
| 91 // Note: This is still an experimental feature and not ready for real usage. | 91 // Note: This is still an experimental feature and not ready for real usage. |
| 92 int min_bitrate_kbps = -1; | 92 int min_bitrate_bps = -1; |
| 93 int max_bitrate_kbps = -1; | 93 int max_bitrate_bps = -1; |
| 94 | 94 |
| 95 struct SendCodecSpec { | 95 struct SendCodecSpec { |
| 96 SendCodecSpec(); | 96 SendCodecSpec(); |
| 97 std::string ToString() const; | 97 std::string ToString() const; |
| 98 | 98 |
| 99 bool operator==(const SendCodecSpec& rhs) const; | 99 bool operator==(const SendCodecSpec& rhs) const; |
| 100 bool operator!=(const SendCodecSpec& rhs) const { | 100 bool operator!=(const SendCodecSpec& rhs) const { |
| 101 return !(*this == rhs); | 101 return !(*this == rhs); |
| 102 } | 102 } |
| 103 | 103 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 126 virtual void SetMuted(bool muted) = 0; | 126 virtual void SetMuted(bool muted) = 0; |
| 127 | 127 |
| 128 virtual Stats GetStats() const = 0; | 128 virtual Stats GetStats() const = 0; |
| 129 | 129 |
| 130 protected: | 130 protected: |
| 131 virtual ~AudioSendStream() {} | 131 virtual ~AudioSendStream() {} |
| 132 }; | 132 }; |
| 133 } // namespace webrtc | 133 } // namespace webrtc |
| 134 | 134 |
| 135 #endif // WEBRTC_API_CALL_AUDIO_SEND_STREAM_H_ | 135 #endif // WEBRTC_API_CALL_AUDIO_SEND_STREAM_H_ |
| OLD | NEW |