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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bool SendingMedia() const override; | 111 bool SendingMedia() const override; |
112 | 112 |
113 // Used by the codec module to deliver a video or audio frame for | 113 // Used by the codec module to deliver a video or audio frame for |
114 // packetization. | 114 // packetization. |
115 int32_t SendOutgoingData(FrameType frame_type, | 115 int32_t SendOutgoingData(FrameType frame_type, |
116 int8_t payload_type, | 116 int8_t payload_type, |
117 uint32_t time_stamp, | 117 uint32_t time_stamp, |
118 int64_t capture_time_ms, | 118 int64_t capture_time_ms, |
119 const uint8_t* payload_data, | 119 const uint8_t* payload_data, |
120 size_t payload_size, | 120 size_t payload_size, |
121 const RTPFragmentationHeader* fragmentation = NULL, | 121 const RTPFragmentationHeader* fragmentation, |
122 const RTPVideoHeader* rtp_video_hdr = NULL) override; | 122 const RTPVideoHeader* rtp_video_hdr, |
| 123 uint32_t* frame_id_out) override; |
123 | 124 |
124 bool TimeToSendPacket(uint32_t ssrc, | 125 bool TimeToSendPacket(uint32_t ssrc, |
125 uint16_t sequence_number, | 126 uint16_t sequence_number, |
126 int64_t capture_time_ms, | 127 int64_t capture_time_ms, |
127 bool retransmission, | 128 bool retransmission, |
128 int probe_cluster_id) override; | 129 int probe_cluster_id) override; |
129 | 130 |
130 // Returns the number of padding bytes actually sent, which can be more or | 131 // Returns the number of padding bytes actually sent, which can be more or |
131 // less than |bytes|. | 132 // less than |bytes|. |
132 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override; | 133 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 PacketLossStats receive_loss_stats_; | 366 PacketLossStats receive_loss_stats_; |
366 | 367 |
367 // The processed RTT from RtcpRttStats. | 368 // The processed RTT from RtcpRttStats. |
368 rtc::CriticalSection critical_section_rtt_; | 369 rtc::CriticalSection critical_section_rtt_; |
369 int64_t rtt_ms_; | 370 int64_t rtt_ms_; |
370 }; | 371 }; |
371 | 372 |
372 } // namespace webrtc | 373 } // namespace webrtc |
373 | 374 |
374 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 375 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |