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

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

Issue 90083002: Cast Extensions API: Major namespace and object renaming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_tests Created 7 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
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 namespace webrtc.castUdpTransport {
10 // The UDP socket address and port.
11 dictionary UdpParams {
12 DOMString address;
13 long port;
14 };
15
16 interface Functions {
17 // Destroys a UDP transport.
18 // |transportId| : The transport ID.
19 [nocompile] static void destroy(long transportId);
20
21 // Starts to use the transport by providing remote UDP info.
22 // |transportId| : The transport ID.
23 // |remoteParams| : The address and port to send packets to.
24 [nocompile] static void start(long transportId, UdpParams remoteParams);
25 };
26 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698