DescriptionMSE: Record counts of detected MSE audio, video and text tracks
Reworks the StreamParser InitCB interface, MSE stream parsers, and
the handling of CB to sum and record the counts of tracks by
type across SourceBuffers for a MediaSource at the time of transitioning
ChunkDemuxer to INITIALIZED in ChunkDemuxer::OnSourceInitDone().
Reporting of detected text track counts is included for WebM and ISO
BMFF stream types, with minimal support added to the latter's parser in
this CL to support their detection only. Note that CEA 608/708 caption
data embedded within ISO BMFF video tracks is neither detected nor
reported. Further, 'sbtl' handler_type is detected as text tracks in
ISO BMFF, going beyond what the spec describes currently, but enabling
detection of this subtitle track embedding produced by some ffmpeg
encodes.
No other new text track presence detection is added; it is still missing
from some MSE parsers like mp2ts. Further, at most one each of audio and
video tracks are detected by the mp2ts parser.
BUG=595128, 336926
Committed: https://crrev.com/792762d71f66b64b5ac4b569a397058c1a8a0176
Cr-Commit-Position: refs/heads/master@{#383886}
Patch Set 1 #
Total comments: 18
Patch Set 2 : Rebase + partial addressing of comments (still needs mp4/webm text test media, webm count testing) #Patch Set 3 : Rebased, addressed all comments, includes basic webm and mp4 A/V/T detection tests #
Total comments: 1
Patch Set 4 : Attempt to fix win_chromium_compile_dbg_ng link failure #Patch Set 5 : Rebase and workaround win_chromium_compile_dbg_ng link failure #Patch Set 6 : Yet another attempt to fix that link failure. MEDIA_EXPORT should do it! #Messages
Total messages: 34 (14 generated)
|