Chromium Code Reviews
DescriptionCast: Add JS API to get raw events logs from cast extension.
- 3 new APIs will be added to cast.streaming.rtpStream: startLogging, getRawEvents and getStats.
-- startLogging will install a event subscriber and start listening to events for a stream.
-- getRawEvents will return a string of serialized raw events logs for that stream.
-- getStats will return a Blob of stats for that stream in serialized format.
- Currently, only getRawEvents is implemented. This will finish the plumbing of raw event logs from cast library to extension to Js.
- CastSessionDelegate keeps a map from stream id to EncodingEventSubscribers instead of just having one subscriber for audio and one for video. Subscribers for a stream are only created when startLogging() for that stream is called.
- CastRtpStream keeps track of stream id so it can be passed to CastSessionDelegate. The ID will be set when it is assigned by CastStreamingNativeHandler.
BUG=301920, 338574
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253686
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Addressed alpha's comments #
Total comments: 10
Patch Set 3 : Addressed Alpha's comments #
Total comments: 5
Patch Set 4 : Addressed kalman's comments #
Total comments: 9
Patch Set 5 : Addressed alpha's comments #
Total comments: 2
Patch Set 6 : #
Total comments: 4
Patch Set 7 : addressed alpha's comments #Patch Set 8 : pass presubmit #Messages
Total messages: 36 (0 generated)
|