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

Unified Diff: media/cast/receiver/cast_receiver_impl.cc

Issue 567853002: Cast: Make pacing controllable by the extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: media/cast/receiver/cast_receiver_impl.cc
diff --git a/media/cast/receiver/cast_receiver_impl.cc b/media/cast/receiver/cast_receiver_impl.cc
index 6c588b73fe6f69ea31befbc6504e94896239528a..8265211c71cd5d431fd61078bbf79b07e038d6bc 100644
--- a/media/cast/receiver/cast_receiver_impl.cc
+++ b/media/cast/receiver/cast_receiver_impl.cc
@@ -31,7 +31,9 @@ CastReceiverImpl::CastReceiverImpl(
const FrameReceiverConfig& video_config,
PacketSender* const packet_sender)
: cast_environment_(cast_environment),
- pacer_(cast_environment->Clock(),
+ pacer_(kTargetBurstSize,
+ kMaxBurstSize,
+ cast_environment->Clock(),
cast_environment->Logging(),
packet_sender,
cast_environment->GetTaskRunner(CastEnvironment::MAIN)),
« media/cast/net/cast_transport_sender_impl.cc ('K') | « media/cast/net/pacing/paced_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698