DescriptionCast: Implemented size limiting and event filtering in EncodingEventSubscriber.
All raw events are categorized into one of three types: video, audio, or other (i.e. not associated with a particular
stream). EncodingEventSubscriber can be configured to only process either audio or video events.
The subscriber can also be configured on having a max limit on number of frames to store in the frame and packet maps.
This helps bound the memory usage of logging and the size of the blob we are uploading at the end.
How they are going to be used: for each CastRtpStream (one audio, one video) we will install a EncodingEventSubscriber,
listening to AUDIO / VIDEO events respectively. The number of events to store is yet to be determined and is
dependent on how well the data can be compressed, or what's the size limit for uploading.
Lastly, EncodingEventSubscriber has been changed to only process frame and packet related events and not generic events. We are not interested in generic events right now, and they can be computed from frame / packet events anyways.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251521
Patch Set 1 : #Patch Set 2 : #
Total comments: 12
Patch Set 3 : Addressed alpha's comments, removed generic event listening #Patch Set 4 : Rebase #
Messages
Total messages: 14 (0 generated)
|