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 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 const uint64_t picture_id) { | 1025 const uint64_t picture_id) { |
1026 return rtp_rtcp_modules_[0]->SendRTCPReferencePictureSelection(picture_id); | 1026 return rtp_rtcp_modules_[0]->SendRTCPReferencePictureSelection(picture_id); |
1027 } | 1027 } |
1028 | 1028 |
1029 void ViEChannel::OnIncomingPayloadType(int payload_type) { | 1029 void ViEChannel::OnIncomingPayloadType(int payload_type) { |
1030 CriticalSectionScoped cs(crit_.get()); | 1030 CriticalSectionScoped cs(crit_.get()); |
1031 if (receive_stats_callback_) | 1031 if (receive_stats_callback_) |
1032 receive_stats_callback_->OnIncomingPayloadType(payload_type); | 1032 receive_stats_callback_->OnIncomingPayloadType(payload_type); |
1033 } | 1033 } |
1034 | 1034 |
| 1035 void ViEChannel::OnDecoderImplementationName(const char* implementation_name) { |
| 1036 CriticalSectionScoped cs(crit_.get()); |
| 1037 if (receive_stats_callback_) |
| 1038 receive_stats_callback_->OnDecoderImplementationName(implementation_name); |
| 1039 } |
| 1040 |
1035 void ViEChannel::OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) { | 1041 void ViEChannel::OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) { |
1036 CriticalSectionScoped cs(crit_.get()); | 1042 CriticalSectionScoped cs(crit_.get()); |
1037 if (receive_stats_callback_) | 1043 if (receive_stats_callback_) |
1038 receive_stats_callback_->OnIncomingRate(frame_rate, bit_rate); | 1044 receive_stats_callback_->OnIncomingRate(frame_rate, bit_rate); |
1039 } | 1045 } |
1040 | 1046 |
1041 void ViEChannel::OnDiscardedPacketsUpdated(int discarded_packets) { | 1047 void ViEChannel::OnDiscardedPacketsUpdated(int discarded_packets) { |
1042 CriticalSectionScoped cs(crit_.get()); | 1048 CriticalSectionScoped cs(crit_.get()); |
1043 if (receive_stats_callback_) | 1049 if (receive_stats_callback_) |
1044 receive_stats_callback_->OnDiscardedPacketsUpdated(discarded_packets); | 1050 receive_stats_callback_->OnDiscardedPacketsUpdated(discarded_packets); |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1249 CriticalSectionScoped cs(crit_.get()); | 1255 CriticalSectionScoped cs(crit_.get()); |
1250 receive_stats_callback_ = receive_statistics_proxy; | 1256 receive_stats_callback_ = receive_statistics_proxy; |
1251 } | 1257 } |
1252 | 1258 |
1253 void ViEChannel::SetIncomingVideoStream( | 1259 void ViEChannel::SetIncomingVideoStream( |
1254 IncomingVideoStream* incoming_video_stream) { | 1260 IncomingVideoStream* incoming_video_stream) { |
1255 CriticalSectionScoped cs(crit_.get()); | 1261 CriticalSectionScoped cs(crit_.get()); |
1256 incoming_video_stream_ = incoming_video_stream; | 1262 incoming_video_stream_ = incoming_video_stream; |
1257 } | 1263 } |
1258 } // namespace webrtc | 1264 } // namespace webrtc |
OLD | NEW |