| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 253 |
| 254 // Send a TelephoneEvent tone using RFC 2833 (4733). | 254 // Send a TelephoneEvent tone using RFC 2833 (4733). |
| 255 int32_t SendTelephoneEventOutband(uint8_t key, | 255 int32_t SendTelephoneEventOutband(uint8_t key, |
| 256 uint16_t time_ms, | 256 uint16_t time_ms, |
| 257 uint8_t level) override; | 257 uint8_t level) override; |
| 258 | 258 |
| 259 // Set payload type for Redundant Audio Data RFC 2198. | 259 // Set payload type for Redundant Audio Data RFC 2198. |
| 260 int32_t SetSendREDPayloadType(int8_t payload_type) override; | 260 int32_t SetSendREDPayloadType(int8_t payload_type) override; |
| 261 | 261 |
| 262 // Get payload type for Redundant Audio Data RFC 2198. | 262 // Get payload type for Redundant Audio Data RFC 2198. |
| 263 int32_t SendREDPayloadType(int8_t& payload_type) const override; | 263 int32_t SendREDPayloadType(int8_t* payload_type) const override; |
| 264 | 264 |
| 265 // Store the audio level in d_bov for header-extension-for-audio-level- | 265 // Store the audio level in d_bov for header-extension-for-audio-level- |
| 266 // indication. | 266 // indication. |
| 267 int32_t SetAudioLevel(uint8_t level_d_bov) override; | 267 int32_t SetAudioLevel(uint8_t level_d_bov) override; |
| 268 | 268 |
| 269 // Video part. | 269 // Video part. |
| 270 | 270 |
| 271 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; | 271 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; |
| 272 | 272 |
| 273 // Set method for requesting a new key frame. | 273 // Set method for requesting a new key frame. |
| 274 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; | 274 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; |
| 275 | 275 |
| 276 // Send a request for a keyframe. | 276 // Send a request for a keyframe. |
| 277 int32_t RequestKeyFrame() override; | 277 int32_t RequestKeyFrame() override; |
| 278 | 278 |
| 279 void SetTargetSendBitrate(uint32_t bitrate_bps) override; | 279 void SetTargetSendBitrate(uint32_t bitrate_bps) override; |
| 280 | 280 |
| 281 void SetGenericFECStatus(bool enable, | 281 void SetGenericFECStatus(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 void GenericFECStatus(bool& enable, | 285 void GenericFECStatus(bool* enable, |
| 286 uint8_t& payload_type_red, | 286 uint8_t* payload_type_red, |
| 287 uint8_t& payload_type_fec) override; | 287 uint8_t* payload_type_fec) override; |
| 288 | 288 |
| 289 int32_t SetFecParameters(const FecProtectionParams* delta_params, | 289 int32_t SetFecParameters(const FecProtectionParams* delta_params, |
| 290 const FecProtectionParams* key_params) override; | 290 const FecProtectionParams* key_params) override; |
| 291 | 291 |
| 292 bool LastReceivedNTP(uint32_t* NTPsecs, | 292 bool LastReceivedNTP(uint32_t* NTPsecs, |
| 293 uint32_t* NTPfrac, | 293 uint32_t* NTPfrac, |
| 294 uint32_t* remote_sr) const; | 294 uint32_t* remote_sr) const; |
| 295 | 295 |
| 296 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const; | 296 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const; |
| 297 | 297 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 PacketLossStats receive_loss_stats_; | 381 PacketLossStats receive_loss_stats_; |
| 382 | 382 |
| 383 // The processed RTT from RtcpRttStats. | 383 // The processed RTT from RtcpRttStats. |
| 384 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; | 384 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; |
| 385 int64_t rtt_ms_; | 385 int64_t rtt_ms_; |
| 386 }; | 386 }; |
| 387 | 387 |
| 388 } // namespace webrtc | 388 } // namespace webrtc |
| 389 | 389 |
| 390 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 390 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
| OLD | NEW |