| 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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 const uint64_t picture_id) { | 976 const uint64_t picture_id) { |
| 977 return rtp_rtcp_modules_[0]->SendRTCPReferencePictureSelection(picture_id); | 977 return rtp_rtcp_modules_[0]->SendRTCPReferencePictureSelection(picture_id); |
| 978 } | 978 } |
| 979 | 979 |
| 980 void ViEChannel::OnIncomingPayloadType(int payload_type) { | 980 void ViEChannel::OnIncomingPayloadType(int payload_type) { |
| 981 CriticalSectionScoped cs(crit_.get()); | 981 CriticalSectionScoped cs(crit_.get()); |
| 982 if (receive_stats_callback_) | 982 if (receive_stats_callback_) |
| 983 receive_stats_callback_->OnIncomingPayloadType(payload_type); | 983 receive_stats_callback_->OnIncomingPayloadType(payload_type); |
| 984 } | 984 } |
| 985 | 985 |
| 986 void ViEChannel::OnDecoderImplementationName(const char* implementation_name) { |
| 987 CriticalSectionScoped cs(crit_.get()); |
| 988 if (receive_stats_callback_) |
| 989 receive_stats_callback_->OnDecoderImplementationName(implementation_name); |
| 990 } |
| 991 |
| 986 void ViEChannel::OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) { | 992 void ViEChannel::OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) { |
| 987 CriticalSectionScoped cs(crit_.get()); | 993 CriticalSectionScoped cs(crit_.get()); |
| 988 if (receive_stats_callback_) | 994 if (receive_stats_callback_) |
| 989 receive_stats_callback_->OnIncomingRate(frame_rate, bit_rate); | 995 receive_stats_callback_->OnIncomingRate(frame_rate, bit_rate); |
| 990 } | 996 } |
| 991 | 997 |
| 992 void ViEChannel::OnDiscardedPacketsUpdated(int discarded_packets) { | 998 void ViEChannel::OnDiscardedPacketsUpdated(int discarded_packets) { |
| 993 CriticalSectionScoped cs(crit_.get()); | 999 CriticalSectionScoped cs(crit_.get()); |
| 994 if (receive_stats_callback_) | 1000 if (receive_stats_callback_) |
| 995 receive_stats_callback_->OnDiscardedPacketsUpdated(discarded_packets); | 1001 receive_stats_callback_->OnDiscardedPacketsUpdated(discarded_packets); |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1194 CriticalSectionScoped cs(crit_.get()); | 1200 CriticalSectionScoped cs(crit_.get()); |
| 1195 receive_stats_callback_ = receive_statistics_proxy; | 1201 receive_stats_callback_ = receive_statistics_proxy; |
| 1196 } | 1202 } |
| 1197 | 1203 |
| 1198 void ViEChannel::SetIncomingVideoStream( | 1204 void ViEChannel::SetIncomingVideoStream( |
| 1199 IncomingVideoStream* incoming_video_stream) { | 1205 IncomingVideoStream* incoming_video_stream) { |
| 1200 CriticalSectionScoped cs(crit_.get()); | 1206 CriticalSectionScoped cs(crit_.get()); |
| 1201 incoming_video_stream_ = incoming_video_stream; | 1207 incoming_video_stream_ = incoming_video_stream; |
| 1202 } | 1208 } |
| 1203 } // namespace webrtc | 1209 } // namespace webrtc |
| OLD | NEW |