Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 2708873003: Propagate packet pacing information to SendTimeHistory. (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/rtp_sender.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender.h b/webrtc/modules/rtp_rtcp/source/rtp_sender.h
index 8f71b48899c2f49070f4567def6c33cddb47f127..1fd491707f5fdba204bdfe2b74cf7291d392e67b 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender.h
@@ -123,8 +123,8 @@ class RTPSender {
uint16_t sequence_number,
int64_t capture_time_ms,
bool retransmission,
- int probe_cluster_id);
- size_t TimeToSendPadding(size_t bytes, int probe_cluster_id);
+ const PacedPacketInfo& pacing_info);
+ size_t TimeToSendPadding(size_t bytes, const PacedPacketInfo& pacing_info);
// NACK.
int SelectiveRetransmissions() const;
@@ -214,16 +214,17 @@ class RTPSender {
// time.
typedef std::map<int64_t, int> SendDelayMap;
- size_t SendPadData(size_t bytes, int probe_cluster_id);
+ size_t SendPadData(size_t bytes, const PacedPacketInfo& pacing_info);
bool PrepareAndSendPacket(std::unique_ptr<RtpPacketToSend> packet,
bool send_over_rtx,
bool is_retransmit,
- int probe_cluster_id);
+ const PacedPacketInfo& pacing_info);
// Return the number of bytes sent. Note that both of these functions may
// return a larger value that their argument.
- size_t TrySendRedundantPayloads(size_t bytes, int probe_cluster_id);
+ size_t TrySendRedundantPayloads(size_t bytes,
+ const PacedPacketInfo& pacing_info);
std::unique_ptr<RtpPacketToSend> BuildRtxPacket(
const RtpPacketToSend& packet);
@@ -246,7 +247,7 @@ class RTPSender {
void AddPacketToTransportFeedback(uint16_t packet_id,
const RtpPacketToSend& packet,
- int probe_cluster_id);
+ const PacedPacketInfo& pacing_info);
void UpdateRtpOverhead(const RtpPacketToSend& packet);

Powered by Google App Engine
This is Rietveld 408576698