| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 if (0 != error) { | 292 if (0 != error) { |
| 293 LOG(LS_WARNING) << "Error setting minimum playout delay."; | 293 LOG(LS_WARNING) << "Error setting minimum playout delay."; |
| 294 } | 294 } |
| 295 } | 295 } |
| 296 | 296 |
| 297 void ChannelProxy::SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats) { | 297 void ChannelProxy::SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats) { |
| 298 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 298 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 299 channel()->SetRtcpRttStats(rtcp_rtt_stats); | 299 channel()->SetRtcpRttStats(rtcp_rtt_stats); |
| 300 } | 300 } |
| 301 | 301 |
| 302 void ChannelProxy::HandleTransportFeedback( |
| 303 const std::vector<SentTransportPacketRecord>& |
| 304 packets_sent_since_last_feedback, |
| 305 const rtcp::TransportFeedback& feedback) { |
| 306 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 307 channel()->HandleTransportFeedback(packets_sent_since_last_feedback, |
| 308 feedback); |
| 309 } |
| 310 |
| 302 bool ChannelProxy::GetRecCodec(CodecInst* codec_inst) const { | 311 bool ChannelProxy::GetRecCodec(CodecInst* codec_inst) const { |
| 303 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 312 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 304 return channel()->GetRecCodec(*codec_inst) == 0; | 313 return channel()->GetRecCodec(*codec_inst) == 0; |
| 305 } | 314 } |
| 306 | 315 |
| 307 bool ChannelProxy::GetSendCodec(CodecInst* codec_inst) const { | 316 bool ChannelProxy::GetSendCodec(CodecInst* codec_inst) const { |
| 308 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 317 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 309 return channel()->GetSendCodec(*codec_inst) == 0; | 318 return channel()->GetSendCodec(*codec_inst) == 0; |
| 310 } | 319 } |
| 311 | 320 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 return channel()->SetSendCNPayloadType(type, frequency) == 0; | 376 return channel()->SetSendCNPayloadType(type, frequency) == 0; |
| 368 } | 377 } |
| 369 | 378 |
| 370 Channel* ChannelProxy::channel() const { | 379 Channel* ChannelProxy::channel() const { |
| 371 RTC_DCHECK(channel_owner_.channel()); | 380 RTC_DCHECK(channel_owner_.channel()); |
| 372 return channel_owner_.channel(); | 381 return channel_owner_.channel(); |
| 373 } | 382 } |
| 374 | 383 |
| 375 } // namespace voe | 384 } // namespace voe |
| 376 } // namespace webrtc | 385 } // namespace webrtc |
| OLD | NEW |