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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // Set payload type for Redundant Audio Data RFC 2198. | 276 // Set payload type for Redundant Audio Data RFC 2198. |
277 int32_t SetRED(int8_t payload_type); | 277 int32_t SetRED(int8_t payload_type); |
278 | 278 |
279 // Get payload type for Redundant Audio Data RFC 2198. | 279 // Get payload type for Redundant Audio Data RFC 2198. |
280 int32_t RED(int8_t *payload_type) const; | 280 int32_t RED(int8_t *payload_type) const; |
281 | 281 |
282 RtpVideoCodecTypes VideoCodecType() const; | 282 RtpVideoCodecTypes VideoCodecType() const; |
283 | 283 |
284 uint32_t MaxConfiguredBitrateVideo() const; | 284 uint32_t MaxConfiguredBitrateVideo() const; |
285 | 285 |
286 int32_t SendRTPIntraRequest(); | |
287 | |
288 // FEC. | 286 // FEC. |
289 void SetGenericFECStatus(bool enable, | 287 void SetGenericFECStatus(bool enable, |
290 uint8_t payload_type_red, | 288 uint8_t payload_type_red, |
291 uint8_t payload_type_fec); | 289 uint8_t payload_type_fec); |
292 | 290 |
293 void GenericFECStatus(bool* enable, | 291 void GenericFECStatus(bool* enable, |
294 uint8_t* payload_type_red, | 292 uint8_t* payload_type_red, |
295 uint8_t* payload_type_fec) const; | 293 uint8_t* payload_type_fec) const; |
296 | 294 |
297 int32_t SetFecParameters(const FecProtectionParams *delta_params, | 295 int32_t SetFecParameters(const FecProtectionParams *delta_params, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 // SetTargetBitrateKbps or GetTargetBitrateKbps. Also remember | 461 // SetTargetBitrateKbps or GetTargetBitrateKbps. Also remember |
464 // that by the time the function returns there is no guarantee | 462 // that by the time the function returns there is no guarantee |
465 // that the target bitrate is still valid. | 463 // that the target bitrate is still valid. |
466 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_; | 464 rtc::scoped_ptr<CriticalSectionWrapper> target_bitrate_critsect_; |
467 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_); | 465 uint32_t target_bitrate_ GUARDED_BY(target_bitrate_critsect_); |
468 }; | 466 }; |
469 | 467 |
470 } // namespace webrtc | 468 } // namespace webrtc |
471 | 469 |
472 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 470 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
OLD | NEW |