Implement disabling audio/video in media::RendererImpl |
||
Issue descriptionNow that we have media tracks, applications can select/deselect video tracks and enable/disable audio tracks and media::Renderer gets notifications about that. media::RendererImpl should stop audio/video processing (decoding, rendering) when a corresponding media track is disabled/deselected. But at the moment I've implemented only a much simpler solution - muting audio renderer by setting volume to 0. To fix this we'll need to extend audio/video renderers to support suspending decoding/rendering. And we'll need to switch time source dynamically in RendererImpl (and ensure that's safe to do in the middle of playback).
,
Apr 1 2016
The CL that I'm currently working on is: https://codereview.chromium.org/1812543003 But it achieves muting/unmuting through setting audio renderer volume atm. I don't understand your concern about unused tracks. My CL shouldn't cause anything like that to happen, because 1. Even if there are multiple audio tracks, only the first one is enabled by default. 2. I don't think we allow multiple audio tracks atm anyway.
,
Jul 25 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by dalecur...@chromium.org
, Apr 1 2016