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

Unified Diff: media/cast/net/cast_transport_sender_impl.h

Issue 567853002: Cast: Make pacing controllable by the extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot to fix test files 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
« no previous file with comments | « no previous file | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_sender_impl.h
diff --git a/media/cast/net/cast_transport_sender_impl.h b/media/cast/net/cast_transport_sender_impl.h
index 54e50d3a21bbf95818debfbf0fd5f3f7db1f4e9d..1eb8bca1caedb5d07e6e30e429f9f4d49650c5b9 100644
--- a/media/cast/net/cast_transport_sender_impl.h
+++ b/media/cast/net/cast_transport_sender_impl.h
@@ -54,6 +54,13 @@ class CastTransportSenderImpl : public CastTransportSender {
// This can be a null callback, i.e. if user is not interested in raw events.
// |raw_events_callback_interval|: This can be |base::TimeDelta()| if
// |raw_events_callback| is a null callback.
+ // |options| contains optional settings for the transport, possible
+ // keys are:
+ // "DSCP" (value doesn't matter) - turns DSCP on
+ // "pacer_target_burst_size": int - specifies how many packets to send
+ // per 10 ms ideally.
+ // "pacer_max_burst_size": int - specifies how many pakcets to send
+ // per 10 ms, max
CastTransportSenderImpl(
net::NetLog* net_log,
base::TickClock* clock,
« no previous file with comments | « no previous file | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698