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

Side by Side Diff: media/cast/net/cast_transport_sender_impl.h

Issue 654843007: Cast: Increase UDP socket send buffer size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed compile Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This class maintains a send transport for audio and video in a Cast 5 // This class maintains a send transport for audio and video in a Cast
6 // Streaming session. 6 // Streaming session.
7 // Audio, video frames and RTCP messages are submitted to this object 7 // Audio, video frames and RTCP messages are submitted to this object
8 // and then packetized and paced to the underlying UDP socket. 8 // and then packetized and paced to the underlying UDP socket.
9 // 9 //
10 // The hierarchy of send transport in a Cast Streaming session: 10 // The hierarchy of send transport in a Cast Streaming session:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // This can be a null callback, i.e. if user is not interested in raw events. 54 // This can be a null callback, i.e. if user is not interested in raw events.
55 // |raw_events_callback_interval|: This can be |base::TimeDelta()| if 55 // |raw_events_callback_interval|: This can be |base::TimeDelta()| if
56 // |raw_events_callback| is a null callback. 56 // |raw_events_callback| is a null callback.
57 // |options| contains optional settings for the transport, possible 57 // |options| contains optional settings for the transport, possible
58 // keys are: 58 // keys are:
59 // "DSCP" (value ignored) - turns DSCP on 59 // "DSCP" (value ignored) - turns DSCP on
60 // "pacer_target_burst_size": int - specifies how many packets to send 60 // "pacer_target_burst_size": int - specifies how many packets to send
61 // per 10 ms ideally. 61 // per 10 ms ideally.
62 // "pacer_max_burst_size": int - specifies how many pakcets to send 62 // "pacer_max_burst_size": int - specifies how many pakcets to send
63 // per 10 ms, max 63 // per 10 ms, max
64 // "send_buffer_min_size": int - specifies the minimum socket send buffer
65 // size
64 // "disable_wifi_scan" (value ignored) - disable wifi scans while streaming 66 // "disable_wifi_scan" (value ignored) - disable wifi scans while streaming
65 // "media_streaming_mode" (value ignored) - turn media streaming mode on 67 // "media_streaming_mode" (value ignored) - turn media streaming mode on
66 // Note, these options may be ignored on some platforms. 68 // Note, these options may be ignored on some platforms.
67 CastTransportSenderImpl( 69 CastTransportSenderImpl(
68 net::NetLog* net_log, 70 net::NetLog* net_log,
69 base::TickClock* clock, 71 base::TickClock* clock,
70 const net::IPEndPoint& remote_end_point, 72 const net::IPEndPoint& remote_end_point,
71 scoped_ptr<base::DictionaryValue> options, 73 scoped_ptr<base::DictionaryValue> options,
72 const CastTransportStatusCallback& status_callback, 74 const CastTransportStatusCallback& status_callback,
73 const BulkRawEventsCallback& raw_events_callback, 75 const BulkRawEventsCallback& raw_events_callback,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 174
173 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; 175 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_;
174 176
175 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); 177 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
176 }; 178 };
177 179
178 } // namespace cast 180 } // namespace cast
179 } // namespace media 181 } // namespace media
180 182
181 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_IMPL_H_ 183 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | media/cast/net/cast_transport_sender_impl.cc » ('j') | media/cast/net/cast_transport_sender_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698