| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // | 122 // |
| 123 // This flag comes from PeerConnection's RtcConfiguration, but is | 123 // This flag comes from PeerConnection's RtcConfiguration, but is |
| 124 // currently only set by the command line flag | 124 // currently only set by the command line flag |
| 125 // 'disable-rtc-smoothness-algorithm'. | 125 // 'disable-rtc-smoothness-algorithm'. |
| 126 // WebRtcVideoChannel2::AddRecvStream copies it to the created | 126 // WebRtcVideoChannel2::AddRecvStream copies it to the created |
| 127 // WebRtcVideoReceiveStream, where it is returned by the | 127 // WebRtcVideoReceiveStream, where it is returned by the |
| 128 // SmoothsRenderedFrames method. This method is used by the | 128 // SmoothsRenderedFrames method. This method is used by the |
| 129 // VideoReceiveStream, where the value is passed on to the | 129 // VideoReceiveStream, where the value is passed on to the |
| 130 // IncomingVideoStream constructor. | 130 // IncomingVideoStream constructor. |
| 131 bool disable_prerenderer_smoothing = false; | 131 bool disable_prerenderer_smoothing = false; |
| 132 |
| 133 // Enables periodic bandwidth probing in application-limited region. |
| 134 bool periodic_alr_bandwidth_probing = false; |
| 132 } video; | 135 } video; |
| 133 }; | 136 }; |
| 134 | 137 |
| 135 // Options that can be applied to a VoiceMediaChannel or a VoiceMediaEngine. | 138 // Options that can be applied to a VoiceMediaChannel or a VoiceMediaEngine. |
| 136 // Used to be flags, but that makes it hard to selectively apply options. | 139 // Used to be flags, but that makes it hard to selectively apply options. |
| 137 // We are moving all of the setting of options to structs like this, | 140 // We are moving all of the setting of options to structs like this, |
| 138 // but some things currently still use flags. | 141 // but some things currently still use flags. |
| 139 struct AudioOptions { | 142 struct AudioOptions { |
| 140 void SetAll(const AudioOptions& change) { | 143 void SetAll(const AudioOptions& change) { |
| 141 SetFrom(&echo_cancellation, change.echo_cancellation); | 144 SetFrom(&echo_cancellation, change.echo_cancellation); |
| (...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1178 // Signal when the media channel is ready to send the stream. Arguments are: | 1181 // Signal when the media channel is ready to send the stream. Arguments are: |
| 1179 // writable(bool) | 1182 // writable(bool) |
| 1180 sigslot::signal1<bool> SignalReadyToSend; | 1183 sigslot::signal1<bool> SignalReadyToSend; |
| 1181 // Signal for notifying that the remote side has closed the DataChannel. | 1184 // Signal for notifying that the remote side has closed the DataChannel. |
| 1182 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1185 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
| 1183 }; | 1186 }; |
| 1184 | 1187 |
| 1185 } // namespace cricket | 1188 } // namespace cricket |
| 1186 | 1189 |
| 1187 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1190 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
| OLD | NEW |