| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 int32_t SendTelephoneEventOutband(uint8_t key, | 262 int32_t SendTelephoneEventOutband(uint8_t key, |
| 263 uint16_t time_ms, | 263 uint16_t time_ms, |
| 264 uint8_t level) override; | 264 uint8_t level) override; |
| 265 | 265 |
| 266 // Store the audio level in d_bov for header-extension-for-audio-level- | 266 // Store the audio level in d_bov for header-extension-for-audio-level- |
| 267 // indication. | 267 // indication. |
| 268 int32_t SetAudioLevel(uint8_t level_d_bov) override; | 268 int32_t SetAudioLevel(uint8_t level_d_bov) override; |
| 269 | 269 |
| 270 // Video part. | 270 // Video part. |
| 271 | 271 |
| 272 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; | |
| 273 | |
| 274 // Set method for requesting a new key frame. | 272 // Set method for requesting a new key frame. |
| 275 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; | 273 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; |
| 276 | 274 |
| 277 // Send a request for a keyframe. | 275 // Send a request for a keyframe. |
| 278 int32_t RequestKeyFrame() override; | 276 int32_t RequestKeyFrame() override; |
| 279 | 277 |
| 280 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type) override; | 278 void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type) override; |
| 281 | 279 |
| 282 bool SetFecParameters(const FecProtectionParams& delta_params, | 280 bool SetFecParameters(const FecProtectionParams& delta_params, |
| 283 const FecProtectionParams& key_params) override; | 281 const FecProtectionParams& key_params) override; |
| 284 | 282 |
| 285 bool LastReceivedNTP(uint32_t* NTPsecs, | 283 bool LastReceivedNTP(uint32_t* NTPsecs, |
| 286 uint32_t* NTPfrac, | 284 uint32_t* NTPfrac, |
| 287 uint32_t* remote_sr) const; | 285 uint32_t* remote_sr) const; |
| 288 | 286 |
| 289 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner); | 287 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner); |
| 290 | 288 |
| 291 void BitrateSent(uint32_t* total_rate, | 289 void BitrateSent(uint32_t* total_rate, |
| 292 uint32_t* video_rate, | 290 uint32_t* video_rate, |
| 293 uint32_t* fec_rate, | 291 uint32_t* fec_rate, |
| 294 uint32_t* nackRate) const override; | 292 uint32_t* nackRate) const override; |
| 295 | 293 |
| 296 // Good state of RTP receiver inform sender. | |
| 297 int32_t SendRTCPReferencePictureSelection(uint64_t picture_id) override; | |
| 298 | |
| 299 void RegisterSendChannelRtpStatisticsCallback( | 294 void RegisterSendChannelRtpStatisticsCallback( |
| 300 StreamDataCountersCallback* callback) override; | 295 StreamDataCountersCallback* callback) override; |
| 301 StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback() | 296 StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback() |
| 302 const override; | 297 const override; |
| 303 | 298 |
| 304 void OnReceivedNack( | 299 void OnReceivedNack( |
| 305 const std::vector<uint16_t>& nack_sequence_numbers) override; | 300 const std::vector<uint16_t>& nack_sequence_numbers) override; |
| 306 void OnReceivedRtcpReportBlocks( | 301 void OnReceivedRtcpReportBlocks( |
| 307 const ReportBlockList& report_blocks) override; | 302 const ReportBlockList& report_blocks) override; |
| 308 void OnRequestSendReport() override; | 303 void OnRequestSendReport() override; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 PacketLossStats receive_loss_stats_; | 359 PacketLossStats receive_loss_stats_; |
| 365 | 360 |
| 366 // The processed RTT from RtcpRttStats. | 361 // The processed RTT from RtcpRttStats. |
| 367 rtc::CriticalSection critical_section_rtt_; | 362 rtc::CriticalSection critical_section_rtt_; |
| 368 int64_t rtt_ms_; | 363 int64_t rtt_ms_; |
| 369 }; | 364 }; |
| 370 | 365 |
| 371 } // namespace webrtc | 366 } // namespace webrtc |
| 372 | 367 |
| 373 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 368 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
| OLD | NEW |