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

Unified Diff: webrtc/modules/pacing/paced_sender.h

Issue 2628563003: Propagate packet pacing information to SenTimeHistory (Closed)
Patch Set: Rebase 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
« no previous file with comments | « webrtc/modules/pacing/bitrate_prober_unittest.cc ('k') | webrtc/modules/pacing/paced_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/pacing/paced_sender.h
diff --git a/webrtc/modules/pacing/paced_sender.h b/webrtc/modules/pacing/paced_sender.h
index 7fd65111f2e1c1af75759f01b045a318a8ec4f2c..10d65c006c8ae2287ea53f0a001f1baf7b2a9296 100644
--- a/webrtc/modules/pacing/paced_sender.h
+++ b/webrtc/modules/pacing/paced_sender.h
@@ -46,10 +46,11 @@ class PacedSender : public Module, public RtpPacketSender {
uint16_t sequence_number,
int64_t capture_time_ms,
bool retransmission,
- int probe_cluster_id) = 0;
+ const PacedPacketInfo& cluster_info) = 0;
// Called when it's a good time to send a padding data.
// Returns the number of bytes sent.
- virtual size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) = 0;
+ virtual size_t TimeToSendPadding(size_t bytes,
+ const PacedPacketInfo& cluster_info) = 0;
protected:
virtual ~PacketSender() {}
@@ -145,9 +146,10 @@ class PacedSender : public Module, public RtpPacketSender {
void UpdateBudgetWithBytesSent(size_t bytes)
EXCLUSIVE_LOCKS_REQUIRED(critsect_);
- bool SendPacket(const paced_sender::Packet& packet, int probe_cluster_id)
+ bool SendPacket(const paced_sender::Packet& packet,
+ const PacedPacketInfo& cluster_info)
EXCLUSIVE_LOCKS_REQUIRED(critsect_);
- size_t SendPadding(size_t padding_needed, int probe_cluster_id)
+ size_t SendPadding(size_t padding_needed, const PacedPacketInfo& cluster_info)
EXCLUSIVE_LOCKS_REQUIRED(critsect_);
Clock* const clock_;
« no previous file with comments | « webrtc/modules/pacing/bitrate_prober_unittest.cc ('k') | webrtc/modules/pacing/paced_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698