Index: media/cast/net/pacing/paced_sender.h |
diff --git a/media/cast/net/pacing/paced_sender.h b/media/cast/net/pacing/paced_sender.h |
index 714fe9dcb1051e80869f2380107f0cc79b8b4cb7..8d45cc43aa959900f153564357da275a8a949b9a 100644 |
--- a/media/cast/net/pacing/paced_sender.h |
+++ b/media/cast/net/pacing/paced_sender.h |
@@ -131,6 +131,13 @@ class PacedSender : public PacedPacketSender, |
bool SendRtcpPacket(uint32_t ssrc, PacketRef packet) final; |
void CancelSendingPacket(const PacketKey& packet_key) final; |
+ void SetTargetBurstSize(int burst_size) { |
+ target_burst_size_ = current_max_burst_size_ = next_max_burst_size_ = |
+ next_next_max_burst_size_ = burst_size; |
+ } |
+ |
+ void SetMaxBurstSize(int burst_size) { max_burst_size_ = burst_size; } |
+ |
private: |
// Actually sends the packets to the transport. |
void SendStoredPackets(); |