|
Cast: Log compression and getRawEvents JS API change.
An additional bool argument in LogSerializer indicates the serialized
log should be compressed. Compression will be done with zlib, and output
will be in gzip format.
An additional bool argument in LogDeserializer indicates the input is
compressed and that a decompression should be performed before the
actual deserialization.
Changed LogSerializer API to only take data from 1 stream, since we are
intending to output separate files for each stream anyway.
CastSessionDelegate will always ask for logs compressed. Though it
can be changed in the future.
The sender app has been modified to allow the user to write logs to
file in compressed format.
The cast extension now works with base::BinaryValue rather than
a std::string. The V8ValueConverter converts it to an ArrayBuffer
object to JS. (A Blob can be constructed from it if desired) The JS
API has changed so that getRawEvents returns an ArrayBuffer
rather than a DOMString in the callback.
BUG= 301920, 338574
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256610
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+511 lines, -272 lines) |
Patch |
 |
M |
chrome/common/extensions/api/cast_streaming_rtp_stream.idl
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/cast_streaming_native_handler.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/cast_streaming_native_handler.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_rtp_stream.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_rtp_stream.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session_delegate.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session_delegate.cc
|
View
|
1
2
3
|
3 chunks |
+18 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/cast_streaming/bad_logging.js
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/cast_streaming/basics.js
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/cast_streaming/common.js
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/cast_streaming/stats.js
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/DEPS
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/logging/log_deserializer.h
|
View
|
1
2
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/log_deserializer.cc
|
View
|
1
2
3
|
3 chunks |
+80 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/log_serializer.h
|
View
|
1
2
3
|
1 chunk |
+18 lines, -49 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/log_serializer.cc
|
View
|
1
2
3
|
5 chunks |
+105 lines, -36 lines |
0 comments
|
Download
|
 |
M |
media/cast/logging/serialize_deserialize_test.cc
|
View
|
1
2
3
|
3 chunks |
+164 lines, -84 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/sender.cc
|
View
|
1
2
3
|
7 chunks |
+88 lines, -52 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|