Bug 231452 - REGRESSION (iOS 15.1 beta): Blank video after backgrounding PWA and resuming video
Summary: REGRESSION (iOS 15.1 beta): Blank video after backgrounding PWA and resuming ...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad Unspecified
: P2 Blocker
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2021-10-08 14:15 PDT by Virginia Farley
Modified: 2022-02-12 19:35 PST (History)
7 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Virginia Farley 2021-10-08 14:15:20 PDT
This behavior can be seen on the by following the steps on this minimal test page: https://virginiafarley.github.io/samples/src/blank-video/

The steps to reproduce this bug are:

1. On iOS 15.1 beta, open the link https://virginiafarley.github.io/samples/src/blank-video/ in Safari
2. Create a PWA out of this link 
3. Click the "Capture canvas" button
4. Click the "Capture audio" button and allow microphone access when prompted
5. If video is not already playing, click "Play Video"
6. Switch to another application for 5-10 seconds
7. Return to the app and observe that the video state is paused
8. Click "Play Video" and observe that the video is blank while the video state is playing.  Note that the MediaStream is inactive at this point.

Expected behavior: After returning to the app and observing that the video is paused, clicking "Play Video" will resume the video.

Able to reproduce with iOS 15.1 beta. Unable to reproduce with iOS 15.0. No repro in Safari (without creating PWA).  Note that audio capture is required to reproduce since without it, video will still be in playing state when returning from backgrounding app.
Comment 1 Radar WebKit Bug Importer 2021-10-11 09:41:13 PDT
Comment 2 Brent Fulgham 2022-02-12 19:35:05 PST
This should now be fixed in iOS 15.2.