[Webkit-unassigned] [Bug 219318] Black background on video element after an incoming phone call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 30 08:32:19 PST 2020


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

--- Comment #4 from youenn fablet <youennf at gmail.com> ---
> 1) You need to ask a user gesture to be able to call play().

This is the general rule to play audio.
There is an exception when the camera/mic does not have access.

If you start without camera/mic, the video will need a user gesture.
In that case, after the phone call happens, I believe the video will restart playing.
The issue is probably if the video autoplayed without a user gesture in the first place.

> 2) If at the moment of the incoming call the local camera is being used
> (that is ignoring the step #3 of the repro steps), when the call is rejected
> everything looks good.

Right, this case though is the usual one.
The one you describe (start with camera, then stop camera then phone call) is much more rare.

> So, IMHO I think it should always work with the same
> behavior, that is, after the income call is rejected, the remote video
> should work without workarounds.

That is a possibility we should probably dig in.
I agree it is inconvenient that the video gets paused without the application being able to notice it easily. The intent is probably that when resuming, we get to the same state as previously, and this is not the case here.

-- 
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/20201130/b25d7cf9/attachment-0001.htm>


More information about the webkit-unassigned mailing list