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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 // the previously sent value is no longer relevant. This will be taken care | 398 // the previously sent value is no longer relevant. This will be taken care |
399 // of with some refactoring which is now being done. | 399 // of with some refactoring which is now being done. |
400 if (plr) { | 400 if (plr) { |
401 channel_proxy_->OnTwccBasedUplinkPacketLossRate(*plr); | 401 channel_proxy_->OnTwccBasedUplinkPacketLossRate(*plr); |
402 } | 402 } |
403 if (rplr) { | 403 if (rplr) { |
404 channel_proxy_->OnRecoverableUplinkPacketLossRate(*rplr); | 404 channel_proxy_->OnRecoverableUplinkPacketLossRate(*rplr); |
405 } | 405 } |
406 } | 406 } |
407 | 407 |
408 const webrtc::AudioSendStream::Config& AudioSendStream::config() const { | 408 const webrtc::AudioSendStream::Config& AudioSendStream::GetConfig() const { |
409 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 409 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
410 return config_; | 410 return config_; |
411 } | 411 } |
412 | 412 |
413 void AudioSendStream::SetTransportOverhead(int transport_overhead_per_packet) { | 413 void AudioSendStream::SetTransportOverhead(int transport_overhead_per_packet) { |
414 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 414 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
415 transport_->send_side_cc()->SetTransportOverhead( | 415 transport_->send_side_cc()->SetTransportOverhead( |
416 transport_overhead_per_packet); | 416 transport_overhead_per_packet); |
417 channel_proxy_->SetTransportOverhead(transport_overhead_per_packet); | 417 channel_proxy_->SetTransportOverhead(transport_overhead_per_packet); |
418 } | 418 } |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 if (rtp_rtcp_module_->RegisterSendPayload(codec) != 0) { | 644 if (rtp_rtcp_module_->RegisterSendPayload(codec) != 0) { |
645 LOG(LS_ERROR) << "RegisterCngPayloadType() failed to register CN to " | 645 LOG(LS_ERROR) << "RegisterCngPayloadType() failed to register CN to " |
646 "RTP/RTCP module"; | 646 "RTP/RTCP module"; |
647 } | 647 } |
648 } | 648 } |
649 } | 649 } |
650 | 650 |
651 | 651 |
652 } // namespace internal | 652 } // namespace internal |
653 } // namespace webrtc | 653 } // namespace webrtc |
OLD | NEW |