[Webkit-unassigned] [Bug 185370] WKPageSetMediaVolume() API couldn't be used to restore the volume

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 7 04:51:38 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185370

--- Comment #4 from Xabier Rodríguez Calvar <calvaris at igalia.com> ---
(In reply to Vivek Arumugam from comment #3)
> 1) If we are to have an API to Dim the volume do we need to pass any value /
> should we assume that it should reduce the volume to 25% or someother value?

IMHO, it should take a value.

> 2) And if we are to pass some value, again, we can't be passing any absolute
> value from UI Process because at that moment the media players (from
> different documents) from the same page might have different volumes. This
> argument supports the use of factored/multiplier approach as
> WKPageSetMediaVolume().

This value would reduce the volume as it is done for WKPageSetMediaVolume but it would be recoverable after with UnDimm.

> If we are worried about breaking existing functionality of
> WKPageSetMediaVolume(), we should first confirm that the purpose of
> WKPageSetMediaVolume() is different than what I think it is.

We need to consider this, yes. If a set is made while the volume is dimmed, we need to deal with it somehow, either by failing or ignoring the set or by failing/ignoring the undimm.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180507/0938c67d/attachment.html>


More information about the webkit-unassigned mailing list