Enable Enterprise enrollment on desktop builds.
[chromium-blink-merge.git] / chrome / common / extensions / api / cast_streaming_udp_transport.idl
blob11ca003db1c70876a39aed788344be49b804a55b
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
3 // found in the LICENSE file.
5 // The <code>chrome.webrtc.castUdpTransport</code> API represents a UDP
6 // transport for Cast RTP streams. This API is not useful when standalone
7 // since it does not have send and receive methods.
8 // It is used to configure the UDP transport used in Cast session.
9 //
10 // Valid transport IDs are positive and non-zero.
11 namespace cast.streaming.udpTransport {
12 // The UDP socket address and port.
13 dictionary IPEndPoint {
14 DOMString address;
15 long port;
18 interface Functions {
19 // Destroys a UDP transport.
20 // |transportId| : The transport ID.
21 [nocompile] static void destroy(long transportId);
23 // Sets parameters for this UDP transport. This can only be called
24 // once per transport.
25 // |transportId| : The transport ID.
26 // |destination| : The address and port to send packets to.
27 [nocompile] static void setDestination(long transportId,
28 IPEndPoint destination);