DescriptionAdd OnDurationChange() to RenderClient
Currently, only the DemuxerHost interface allows the propragation of
duration changes; the demuxer is responsible for detecting duration
changes and notifying the Pipeline.
In the case of the MediaPlayerRenderer, we use a MediaUrlDemuxer, which
never receives duration updates. Instead, all metadata parsing happens
on the browser side, in the MediaPlayerRenderer. We therefore need a
way to propagate the duration changes from the MediaPlayerRenderer to
the pipeline.
This change adds an OnDurationChange method to both the
media::RendererClient and the mojom::RendererClient interfaces.
BUG=635991
Committed: https://crrev.com/2875bf04f6a471d51491cb45fc3eefba7ae5e4fc
Cr-Commit-Position: refs/heads/master@{#411893}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixed typo #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 25 (13 generated)
|