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

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

Issue 121543003: Set AES key and IV mask to CastSender (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 12 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/extensions/cast_streaming_native_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 {
11 DOMString key; 11 DOMString key;
12 DOMString value; 12 DOMString value;
13 }; 13 };
14 14
15 // RTP payload param. 15 // RTP payload param.
16 dictionary RtpPayloadParams { 16 dictionary RtpPayloadParams {
17 long payloadType; 17 long payloadType;
18 18
19 DOMString codecName; 19 DOMString codecName;
20 20
21 // Synchronization source identifier. 21 // Synchronization source identifier.
22 long? ssrc; 22 long? ssrc;
23 23
24 long? feedback_ssrc; 24 long? feedbackSsrc;
25 25
26 long? clockRate; 26 long? clockRate;
27 27
28 long? minBitrate; 28 long? minBitrate;
29 29
30 long? maxBitrate; 30 long? maxBitrate;
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? aesKey;
43
44 // 16 bytes AES IV (Initialization vector) mask encoded in Base64.
45 DOMString? aesIvMask;
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
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 };
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/extensions/cast_streaming_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698