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

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

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 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 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.cast.streaming.rtpStream</code> API allows configuration 5 // The <code>chrome.cast.streaming.rtpStream</code> API allows configuration
6 // of encoding parameters and RTP parameters used in a Cast streaming 6 // of encoding parameters and RTP parameters used in a Cast streaming
7 // session. 7 // session.
8 // 8 //
9 // Valid stream IDs are positive and non-zero. 9 // Valid stream IDs are positive and non-zero.
10 namespace cast.streaming.rtpStream { 10 [use_movable_types=true]namespace cast.streaming.rtpStream {
11 // Params for audio and video codec. 11 // Params for audio and video codec.
12 dictionary CodecSpecificParams { 12 dictionary CodecSpecificParams {
13 DOMString key; 13 DOMString key;
14 DOMString value; 14 DOMString value;
15 }; 15 };
16 16
17 // RTP payload param. 17 // RTP payload param.
18 dictionary RtpPayloadParams { 18 dictionary RtpPayloadParams {
19 long payloadType; 19 long payloadType;
20 20
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Event fired when a Cast RTP stream has stopped. 136 // Event fired when a Cast RTP stream has stopped.
137 // |streamId| : The ID of the RTP stream. 137 // |streamId| : The ID of the RTP stream.
138 static void onStopped(long streamId); 138 static void onStopped(long streamId);
139 139
140 // Event fired when a Cast RTP stream has error. 140 // Event fired when a Cast RTP stream has error.
141 // |streamId| : The ID of the RTP stream. 141 // |streamId| : The ID of the RTP stream.
142 // |errorString| : The error info. 142 // |errorString| : The error info.
143 static void onError(long streamId, DOMString errorString); 143 static void onError(long streamId, DOMString errorString);
144 }; 144 };
145 }; 145 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698