| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 void SetMaxConfiguredBitrateVideo(const uint32_t maxBitrate); | 61 void SetMaxConfiguredBitrateVideo(const uint32_t maxBitrate); |
| 62 | 62 |
| 63 uint32_t MaxConfiguredBitrateVideo() const; | 63 uint32_t MaxConfiguredBitrateVideo() const; |
| 64 | 64 |
| 65 // FEC | 65 // FEC |
| 66 void SetGenericFECStatus(const bool enable, | 66 void SetGenericFECStatus(const bool enable, |
| 67 const uint8_t payloadTypeRED, | 67 const uint8_t payloadTypeRED, |
| 68 const uint8_t payloadTypeFEC); | 68 const uint8_t payloadTypeFEC); |
| 69 | 69 |
| 70 void GenericFECStatus(bool& enable, | 70 void GenericFECStatus(bool* enable, |
| 71 uint8_t& payloadTypeRED, | 71 uint8_t* payloadTypeRED, |
| 72 uint8_t& payloadTypeFEC) const; | 72 uint8_t* payloadTypeFEC) const; |
| 73 | 73 |
| 74 void SetFecParameters(const FecProtectionParams* delta_params, | 74 void SetFecParameters(const FecProtectionParams* delta_params, |
| 75 const FecProtectionParams* key_params); | 75 const FecProtectionParams* key_params); |
| 76 | 76 |
| 77 void ProcessBitrate(); | 77 void ProcessBitrate(); |
| 78 | 78 |
| 79 uint32_t VideoBitrateSent() const; | 79 uint32_t VideoBitrateSent() const; |
| 80 uint32_t FecOverheadRate() const; | 80 uint32_t FecOverheadRate() const; |
| 81 | 81 |
| 82 int SelectiveRetransmissions() const; | 82 int SelectiveRetransmissions() const; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 // Bitrate used for FEC payload, RED headers, RTP headers for FEC packets | 121 // Bitrate used for FEC payload, RED headers, RTP headers for FEC packets |
| 122 // and any padding overhead. | 122 // and any padding overhead. |
| 123 Bitrate _fecOverheadRate; | 123 Bitrate _fecOverheadRate; |
| 124 // Bitrate used for video payload and RTP headers | 124 // Bitrate used for video payload and RTP headers |
| 125 Bitrate _videoBitrate; | 125 Bitrate _videoBitrate; |
| 126 }; | 126 }; |
| 127 } // namespace webrtc | 127 } // namespace webrtc |
| 128 | 128 |
| 129 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ | 129 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ |
| OLD | NEW |