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

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

Issue 47343005: Data type conversion between extensions API and Cast API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed comments Created 7 years, 1 month 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
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.castSendTransport</code> API takes a track as 5 // The <code>chrome.webrtc.castSendTransport</code> API takes a track as
6 // a source of media, and sends that media on the inner transport according to 6 // a source of media, and sends that media on the inner transport according to
7 // the given RtpParams. 7 // the given RtpParams.
8 namespace webrtc.castSendTransport { 8 namespace webrtc.castSendTransport {
9 // Params for audio and video codec. 9 // Params for audio and video codec.
10 dictionary CodecSpecificParams { 10 dictionary CodecSpecificParams {
(...skipping 19 matching lines...) Expand all
30 // The number of channels. 30 // The number of channels.
31 long? channels; 31 long? channels;
32 32
33 // Video width in pixels. 33 // Video width in pixels.
34 long? width; 34 long? width;
35 35
36 // Video height in pixels. 36 // Video height in pixels.
37 long? height; 37 long? height;
38 38
39 // A list of codec specific params. 39 // A list of codec specific params.
40 CodecSpecificParams[] codecSpecficParams; 40 CodecSpecificParams[] codecSpecificParams;
41 }; 41 };
42 42
43 // Cast transport capabilities 43 // Cast transport capabilities
44 dictionary RtpCaps { 44 dictionary RtpCaps {
45 // RTP payload params. 45 // RTP payload params.
46 RtpPayloadParams[] payloads; 46 RtpPayloadParams[] payloads;
47 47
48 DOMString[] rtcpFeatures; 48 DOMString[] rtcpFeatures;
49 49
50 DOMString[] fecMechanisms; 50 DOMString[] fecMechanisms;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // left. 132 // left.
133 // |transportId| : The ID of the transport. 133 // |transportId| : The ID of the transport.
134 static void onTimeout(long transportId); 134 static void onTimeout(long transportId);
135 135
136 // Event fired when a cast send transport has error. 136 // Event fired when a cast send transport has error.
137 // |transportId| : The ID of the transport. 137 // |transportId| : The ID of the transport.
138 // |errorString| : The error info. 138 // |errorString| : The error info.
139 static void onError(long transportId, DOMString errorString); 139 static void onError(long transportId, DOMString errorString);
140 }; 140 };
141 }; 141 };
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webrtc_cast_apitest.cc ('k') | chrome/renderer/extensions/webrtc_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698