OLD | NEW |
---|---|
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 namespace cast.streaming.rtpStream { | 8 namespace cast.streaming.rtpStream { |
9 // Params for audio and video codec. | 9 // Params for audio and video codec. |
10 dictionary CodecSpecificParams { | 10 dictionary CodecSpecificParams { |
(...skipping 20 matching lines...) Expand all Loading... | |
31 | 31 |
32 // The number of channels. | 32 // The number of channels. |
33 long? channels; | 33 long? channels; |
34 | 34 |
35 // Video width in pixels. | 35 // Video width in pixels. |
36 long? width; | 36 long? width; |
37 | 37 |
38 // Video height in pixels. | 38 // Video height in pixels. |
39 long? height; | 39 long? height; |
40 | 40 |
41 // 16 bytes AES key encoded in Base64. | |
42 DOMString? aes_key; | |
not at google - send to devlin
2013/12/27 10:35:22
fwiw we have both styles here now, maxBitrate and
Alpha Left Google
2013/12/27 21:57:07
Good catch. It is supposed to be in camelcase.
| |
43 | |
44 // 16 bytes AES IV (Initialization vector) mask encoded in Base64. | |
45 DOMString? aes_iv_mask; | |
46 | |
41 // A list of codec specific params. | 47 // A list of codec specific params. |
42 CodecSpecificParams[] codecSpecificParams; | 48 CodecSpecificParams[] codecSpecificParams; |
43 }; | 49 }; |
44 | 50 |
45 // Cast RTP capabilities. | 51 // Cast RTP capabilities. |
46 dictionary RtpCaps { | 52 dictionary RtpCaps { |
47 // RTP payload params. | 53 // RTP payload params. |
48 RtpPayloadParams[] payloads; | 54 RtpPayloadParams[] payloads; |
49 | 55 |
50 DOMString[] rtcpFeatures; | 56 DOMString[] rtcpFeatures; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
89 // Event fired when a Cast RTP stream has stopped. | 95 // Event fired when a Cast RTP stream has stopped. |
90 // |streamId| : The ID of the RTP stream. | 96 // |streamId| : The ID of the RTP stream. |
91 static void onStopped(long streamId); | 97 static void onStopped(long streamId); |
92 | 98 |
93 // Event fired when a Cast RTP stream has error. | 99 // Event fired when a Cast RTP stream has error. |
94 // |streamId| : The ID of the RTP stream. | 100 // |streamId| : The ID of the RTP stream. |
95 // |errorString| : The error info. | 101 // |errorString| : The error info. |
96 static void onError(long streamId, DOMString errorString); | 102 static void onError(long streamId, DOMString errorString); |
97 }; | 103 }; |
98 }; | 104 }; |
OLD | NEW |