| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 const uint64_t picture_id) { | 989 const uint64_t picture_id) { |
| 990 return rtp_rtcp_modules_[0]->SendRTCPReferencePictureSelection(picture_id); | 990 return rtp_rtcp_modules_[0]->SendRTCPReferencePictureSelection(picture_id); |
| 991 } | 991 } |
| 992 | 992 |
| 993 void ViEChannel::OnIncomingPayloadType(int payload_type) { | 993 void ViEChannel::OnIncomingPayloadType(int payload_type) { |
| 994 CriticalSectionScoped cs(crit_.get()); | 994 CriticalSectionScoped cs(crit_.get()); |
| 995 if (receive_stats_callback_) | 995 if (receive_stats_callback_) |
| 996 receive_stats_callback_->OnIncomingPayloadType(payload_type); | 996 receive_stats_callback_->OnIncomingPayloadType(payload_type); |
| 997 } | 997 } |
| 998 | 998 |
| 999 void ViEChannel::OnDecoderImplementationName(const char* implementation_name) { |
| 1000 CriticalSectionScoped cs(crit_.get()); |
| 1001 if (receive_stats_callback_) |
| 1002 receive_stats_callback_->OnDecoderImplementationName(implementation_name); |
| 1003 } |
| 1004 |
| 999 void ViEChannel::OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) { | 1005 void ViEChannel::OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) { |
| 1000 CriticalSectionScoped cs(crit_.get()); | 1006 CriticalSectionScoped cs(crit_.get()); |
| 1001 if (receive_stats_callback_) | 1007 if (receive_stats_callback_) |
| 1002 receive_stats_callback_->OnIncomingRate(frame_rate, bit_rate); | 1008 receive_stats_callback_->OnIncomingRate(frame_rate, bit_rate); |
| 1003 } | 1009 } |
| 1004 | 1010 |
| 1005 void ViEChannel::OnDiscardedPacketsUpdated(int discarded_packets) { | 1011 void ViEChannel::OnDiscardedPacketsUpdated(int discarded_packets) { |
| 1006 CriticalSectionScoped cs(crit_.get()); | 1012 CriticalSectionScoped cs(crit_.get()); |
| 1007 if (receive_stats_callback_) | 1013 if (receive_stats_callback_) |
| 1008 receive_stats_callback_->OnDiscardedPacketsUpdated(discarded_packets); | 1014 receive_stats_callback_->OnDiscardedPacketsUpdated(discarded_packets); |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 CriticalSectionScoped cs(crit_.get()); | 1213 CriticalSectionScoped cs(crit_.get()); |
| 1208 receive_stats_callback_ = receive_statistics_proxy; | 1214 receive_stats_callback_ = receive_statistics_proxy; |
| 1209 } | 1215 } |
| 1210 | 1216 |
| 1211 void ViEChannel::SetIncomingVideoStream( | 1217 void ViEChannel::SetIncomingVideoStream( |
| 1212 IncomingVideoStream* incoming_video_stream) { | 1218 IncomingVideoStream* incoming_video_stream) { |
| 1213 CriticalSectionScoped cs(crit_.get()); | 1219 CriticalSectionScoped cs(crit_.get()); |
| 1214 incoming_video_stream_ = incoming_video_stream; | 1220 incoming_video_stream_ = incoming_video_stream; |
| 1215 } | 1221 } |
| 1216 } // namespace webrtc | 1222 } // namespace webrtc |
| OLD | NEW |