DescriptionMake setSinkId try to set the sink even if the given new sinkId equals the current sinkId.
Given that we currently do not support automatically resetting the sink when the source of an HTMLMediaElement
changes, this patch helps avoid the following problematic scenario:
elem.setSinkId(mySink);
elem.src = newSrc; // audio will not necessarily be rendered on mySink
elem.setSinkId(mySink); //does nothing because mySink equals the sinkId for the element.
BUG=438023
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197677
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
|||||||||||||||||||