| Index: webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
|
| diff --git a/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h b/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
|
| index 05320f72e1b5a5272bf7c35a2330ce7abe1d6f65..8875d65081829751572270a4f9788b5f67874c4d 100644
|
| --- a/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
|
| +++ b/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h
|
| @@ -251,18 +251,21 @@
|
| -1,
|
| sequence_number,
|
| 0,
|
| + false,
|
| kNotAProbe) {}
|
|
|
| PacketInfo(int64_t arrival_time_ms,
|
| int64_t send_time_ms,
|
| uint16_t sequence_number,
|
| size_t payload_size,
|
| + bool was_paced,
|
| int probe_cluster_id)
|
| : PacketInfo(-1,
|
| arrival_time_ms,
|
| send_time_ms,
|
| sequence_number,
|
| payload_size,
|
| + was_paced,
|
| probe_cluster_id) {}
|
|
|
| PacketInfo(int64_t creation_time_ms,
|
| @@ -270,12 +273,14 @@
|
| int64_t send_time_ms,
|
| uint16_t sequence_number,
|
| size_t payload_size,
|
| + bool was_paced,
|
| int probe_cluster_id)
|
| : creation_time_ms(creation_time_ms),
|
| arrival_time_ms(arrival_time_ms),
|
| send_time_ms(send_time_ms),
|
| sequence_number(sequence_number),
|
| payload_size(payload_size),
|
| + was_paced(was_paced),
|
| probe_cluster_id(probe_cluster_id) {}
|
|
|
| static constexpr int kNotAProbe = -1;
|
| @@ -293,6 +298,8 @@
|
| uint16_t sequence_number;
|
| // Size of the packet excluding RTP headers.
|
| size_t payload_size;
|
| + // True if the packet was paced out by the pacer.
|
| + bool was_paced;
|
| // Which probing cluster this packets belongs to.
|
| int probe_cluster_id;
|
| };
|
| @@ -306,6 +313,7 @@
|
| // must be set to 0.
|
| virtual void AddPacket(uint16_t sequence_number,
|
| size_t length,
|
| + bool was_paced,
|
| int probe_cluster_id) = 0;
|
|
|
| virtual void OnTransportFeedback(const rtcp::TransportFeedback& feedback) = 0;
|
|
|