| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 channel_proxy_->SetNACKStatus(config_.rtp.nack.rtp_history_ms != 0, | 75 channel_proxy_->SetNACKStatus(config_.rtp.nack.rtp_history_ms != 0, |
| 76 config_.rtp.nack.rtp_history_ms / 20); | 76 config_.rtp.nack.rtp_history_ms / 20); |
| 77 | 77 |
| 78 channel_proxy_->RegisterExternalTransport(config.send_transport); | 78 channel_proxy_->RegisterExternalTransport(config.send_transport); |
| 79 | 79 |
| 80 for (const auto& extension : config.rtp.extensions) { | 80 for (const auto& extension : config.rtp.extensions) { |
| 81 if (extension.uri == RtpExtension::kAudioLevelUri) { | 81 if (extension.uri == RtpExtension::kAudioLevelUri) { |
| 82 channel_proxy_->SetSendAudioLevelIndicationStatus(true, extension.id); | 82 channel_proxy_->SetSendAudioLevelIndicationStatus(true, extension.id); |
| 83 } else if (extension.uri == RtpExtension::kTransportSequenceNumberUri) { | 83 } else if (extension.uri == RtpExtension::kTransportSequenceNumberUri) { |
| 84 channel_proxy_->EnableSendTransportSequenceNumber(extension.id); | 84 channel_proxy_->EnableSendTransportSequenceNumber(extension.id); |
| 85 congestion_controller->EnablePeriodicAlrProbing(true); |
| 85 } else { | 86 } else { |
| 86 RTC_NOTREACHED() << "Registering unsupported RTP extension."; | 87 RTC_NOTREACHED() << "Registering unsupported RTP extension."; |
| 87 } | 88 } |
| 88 } | 89 } |
| 89 if (!SetupSendCodec()) { | 90 if (!SetupSendCodec()) { |
| 90 LOG(LS_ERROR) << "Failed to set up send codec state."; | 91 LOG(LS_ERROR) << "Failed to set up send codec state."; |
| 91 } | 92 } |
| 92 } | 93 } |
| 93 | 94 |
| 94 AudioSendStream::~AudioSendStream() { | 95 AudioSendStream::~AudioSendStream() { |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 LOG(LS_WARNING) << "SetVADStatus() failed: " << base->LastError(); | 386 LOG(LS_WARNING) << "SetVADStatus() failed: " << base->LastError(); |
| 386 return false; | 387 return false; |
| 387 } | 388 } |
| 388 } | 389 } |
| 389 } | 390 } |
| 390 return true; | 391 return true; |
| 391 } | 392 } |
| 392 | 393 |
| 393 } // namespace internal | 394 } // namespace internal |
| 394 } // namespace webrtc | 395 } // namespace webrtc |
| OLD | NEW |