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

Side by Side Diff: chrome/common/extensions/api/cast_streaming_udp_transport.idl

Issue 583353003: Cast: missing transport ID in setOptions API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: running 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/renderer/resources/extensions/cast_streaming_udp_transport_custom_bindings.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // The <code>chrome.webrtc.castUdpTransport</code> API represents a UDP 5 // The <code>chrome.webrtc.castUdpTransport</code> API represents a UDP
6 // transport for Cast RTP streams. This API is not useful when standalone 6 // transport for Cast RTP streams. This API is not useful when standalone
7 // since it does not have send and receive methods. 7 // since it does not have send and receive methods.
8 // It is used to configure the UDP transport used in Cast session. 8 // It is used to configure the UDP transport used in Cast session.
9 // 9 //
10 // Valid transport IDs are positive and non-zero. 10 // Valid transport IDs are positive and non-zero.
(...skipping 13 matching lines...) Expand all
24 // once per transport. 24 // once per transport.
25 // |transportId| : The transport ID. 25 // |transportId| : The transport ID.
26 // |destination| : The address and port to send packets to. 26 // |destination| : The address and port to send packets to.
27 [nocompile] static void setDestination(long transportId, 27 [nocompile] static void setDestination(long transportId,
28 IPEndPoint destination); 28 IPEndPoint destination);
29 29
30 // Sets the options. 30 // Sets the options.
31 // Attributes of this object will be used to activate optional 31 // Attributes of this object will be used to activate optional
32 // behaviours in the transport. Normally this is only used for 32 // behaviours in the transport. Normally this is only used for
33 // experimentation. Must be called before setDestination. 33 // experimentation. Must be called before setDestination.
34 [nocompile] static void setOptions(object options); 34 // |transportId| : The transport ID.
35 // |options| : A dictionary of key-value pairs of options.
scheib 2014/09/22 22:49:45 Where are options or transports defined?
Alpha Left Google 2014/09/22 23:06:32 I added a comment to describe the list of options
36 [nocompile] static void setOptions(long transportId,
37 object options);
35 }; 38 };
36 }; 39 };
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/resources/extensions/cast_streaming_udp_transport_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698