| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; |
| 83 void SetSelectiveRetransmissions(uint8_t settings); | 83 void SetSelectiveRetransmissions(uint8_t settings); |
| 84 | 84 |
| 85 private: | 85 private: |
| 86 void SendVideoPacket(uint8_t* dataBuffer, | 86 void SendVideoPacket(uint8_t* dataBuffer, |
| 87 const size_t payloadLength, | 87 const size_t payloadLength, |
| 88 const size_t rtpHeaderLength, | 88 const size_t rtpHeaderLength, |
| 89 uint16_t seq_num, | 89 uint16_t seq_num, |
| 90 const uint32_t capture_timestamp, | 90 const uint32_t capture_timestamp, |
| 91 int64_t capture_time_ms, | 91 int64_t capture_time_ms, |
| 92 StorageType storage); | 92 StorageType storage); |
| 93 | 93 |
| 94 void SendVideoPacketAsRed(uint8_t* dataBuffer, | 94 void SendVideoPacketAsRed(uint8_t* dataBuffer, |
| 95 const size_t payloadLength, | 95 const size_t payloadLength, |
| (...skipping 24 matching lines...) Expand all 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 |