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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; | 267 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; |
268 | 268 |
269 // Set method for requesting a new key frame. | 269 // Set method for requesting a new key frame. |
270 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; | 270 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; |
271 | 271 |
272 // Send a request for a keyframe. | 272 // Send a request for a keyframe. |
273 int32_t RequestKeyFrame() override; | 273 int32_t RequestKeyFrame() override; |
274 | 274 |
275 void SetTargetSendBitrate(uint32_t bitrate_bps) override; | 275 void SetTargetSendBitrate(uint32_t bitrate_bps) override; |
276 | 276 |
277 int32_t SetGenericFECStatus(bool enable, | 277 void SetGenericFECStatus(bool enable, |
278 uint8_t payload_type_red, | 278 uint8_t payload_type_red, |
279 uint8_t payload_type_fec) override; | 279 uint8_t payload_type_fec) override; |
280 | 280 |
281 int32_t GenericFECStatus(bool& enable, | 281 void GenericFECStatus(bool& enable, |
282 uint8_t& payload_type_red, | 282 uint8_t& payload_type_red, |
283 uint8_t& payload_type_fec) override; | 283 uint8_t& payload_type_fec) override; |
284 | 284 |
285 int32_t SetFecParameters(const FecProtectionParams* delta_params, | 285 int32_t SetFecParameters(const FecProtectionParams* delta_params, |
286 const FecProtectionParams* key_params) override; | 286 const FecProtectionParams* key_params) override; |
287 | 287 |
288 bool LastReceivedNTP(uint32_t* NTPsecs, | 288 bool LastReceivedNTP(uint32_t* NTPsecs, |
289 uint32_t* NTPfrac, | 289 uint32_t* NTPfrac, |
290 uint32_t* remote_sr) const; | 290 uint32_t* remote_sr) const; |
291 | 291 |
292 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const; | 292 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const; |
293 | 293 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 RtcpRttStats* rtt_stats_; | 375 RtcpRttStats* rtt_stats_; |
376 | 376 |
377 // The processed RTT from RtcpRttStats. | 377 // The processed RTT from RtcpRttStats. |
378 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; | 378 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; |
379 int64_t rtt_ms_; | 379 int64_t rtt_ms_; |
380 }; | 380 }; |
381 | 381 |
382 } // namespace webrtc | 382 } // namespace webrtc |
383 | 383 |
384 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 384 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |