[Webkit-unassigned] [Bug 233472] New: Video with `autoplay` are randomly paused on M1 Macbook

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 24 06:39:47 PST 2021


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

            Bug ID: 233472
           Summary: Video with `autoplay` are randomly paused on M1
                    Macbook
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit-bugzilla at lavrins.com

How to reproduce
================

1. Use M1 device
2. Use Safari 15
3. Run any WebRTC based application (like https://studio.restream.io)


What's happening
================

Sporadically, in about ~5 minutes, some videos in the preview become frozen. Rarely parts of the UI will disappear.

Whenever that happens, `paused` events on video elements won't fire, `paused` state shows `false`, and the ready state of the player keeps to be `4`. The internal media stream continues to be active and non of the media stream tracks is `muted`.

On top of it, attempts to `play()` video doesn't resume it in any way. However, if `pause()` is invoked, it unexpectedly resumes video play.

Another way to "fix" the issue is to switch the tab back and forth (or cover the screen with another window).

I wasn't able to identify a specific way to trigger that issue. I have a feeling it's easier to trigger if the laptop is under load and doesn't have a charger connected.

We've tested a dozen of Intel Macbooks on Big Sure and Monterey with Safari 15, and none of them has this issue. However, on M1 Macbooks it's quite easy to reproduce just by using some WebRTC application for a while.

That issue happens only in Safari. Runs fine in Chrome and Firefox.


What's expected
===============

Videos should not pause since they have `autoplay` property, or at least properly fire `paused` events so that they could be resumed.

-- 
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/20211124/16b3c7b0/attachment-0001.htm>


More information about the webkit-unassigned mailing list