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

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

Issue 189583004: Cast: Implement log compression and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/renderer/extensions/cast_streaming_native_handler.h » ('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 {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Callback from the <code>create</code> method. 59 // Callback from the <code>create</code> method.
60 // |id| : The ID for the RTP stream. 60 // |id| : The ID for the RTP stream.
61 callback CreateCallback = void (long streamId); 61 callback CreateCallback = void (long streamId);
62 62
63 // Callback from the <code>getRawEvents</code> method. 63 // Callback from the <code>getRawEvents</code> method.
64 // |rawEvents|: compressed serialized raw bytes containing raw events 64 // |rawEvents|: compressed serialized raw bytes containing raw events
65 // recorded for a stream. 65 // recorded for a stream.
66 // The compression is in gzip format. 66 // The compression is in gzip format.
67 // The serialization format can be found at 67 // The serialization format can be found at
68 // media/cast/logging/log_serializer.cc. 68 // media/cast/logging/log_serializer.cc.
69 callback GetRawEventsCallback = void (DOMString rawEvents); 69 callback GetRawEventsCallback = void (ArrayBuffer rawEvents);
70 70
71 // Callback from the <code>getStats</code> method. 71 // Callback from the <code>getStats</code> method.
72 // |rawEvents|: dictionary object containing stats recorded for a stream. 72 // |rawEvents|: dictionary object containing stats recorded for a stream.
73 // The format can be found at 73 // The format can be found at
74 // media/cast/logging/stats_converter.cc. 74 // media/cast/logging/stats_converter.cc.
75 callback GetStatsCallback = void (object stats); 75 callback GetStatsCallback = void (object stats);
76 76
77 interface Functions { 77 interface Functions {
78 // Destroys a Cast RTP stream. 78 // Destroys a Cast RTP stream.
79 // |streamId| : The RTP stream ID. 79 // |streamId| : The RTP stream ID.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // Event fired when a Cast RTP stream has stopped. 119 // Event fired when a Cast RTP stream has stopped.
120 // |streamId| : The ID of the RTP stream. 120 // |streamId| : The ID of the RTP stream.
121 static void onStopped(long streamId); 121 static void onStopped(long streamId);
122 122
123 // Event fired when a Cast RTP stream has error. 123 // Event fired when a Cast RTP stream has error.
124 // |streamId| : The ID of the RTP stream. 124 // |streamId| : The ID of the RTP stream.
125 // |errorString| : The error info. 125 // |errorString| : The error info.
126 static void onError(long streamId, DOMString errorString); 126 static void onError(long streamId, DOMString errorString);
127 }; 127 };
128 }; 128 };
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/extensions/cast_streaming_native_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698