Bug 272704 - REGRESSION (iOS 17.4.1): Video track is muted on pushState()
Summary: REGRESSION (iOS 17.4.1): Video track is muted on pushState()
Status: RESOLVED DUPLICATE of bug 269846
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 17
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-15 14:59 PDT by JH
Modified: 2024-04-19 02:58 PDT (History)
6 users (show)

See Also:


Attachments
html/js to reproduce the issue (1.61 KB, text/html)
2024-04-15 14:59 PDT, JH
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description JH 2024-04-15 14:59:44 PDT
Created attachment 470929 [details]
html/js to reproduce the issue

In iOS v17.4.1, executing `history.pushState()` unexpectedly mutes the video track obtained via `getUserMedia()`. The video remains muted and can only be unmuted by either switching browser tabs or by re-invoking `getUserMedia()`.

Steps to Reproduce:
  1. Open attached web page in iOS v17.4.1
  2. Click the 'getUserMedia()' button
  3. Wait for video to be displayed below
  4. Click the 'pushState()' button
Comment 1 Alexey Proskuryakov 2024-04-15 20:39:15 PDT
Thank you for the report! Could you please confirm if this worked before 17.4.1? What was the latest version you know worked?
Comment 2 JH 2024-04-16 08:26:22 PDT
(In reply to Alexey Proskuryakov from comment #1)
> Thank you for the report! Could you please confirm if this worked before
> 17.4.1? What was the latest version you know worked?

It functioned correctly prior to iOS 17.4.1. I can confirm that it works on iOS 17.3 and all earlier versions
Comment 3 john.graumann 2024-04-17 08:39:03 PDT
Hi, I think we are seeing the same issue. We have a single page application, and as soon as the path/route changes, the video element goes black. I can't be sure in which version of iOS this broke, but it seems to have started happening recently.
Comment 4 Ryan Hefner 2024-04-17 19:16:06 PDT
I can confirm this was working in 17.4.0 and broke with 17.4.1.  Here’s a quick demo that I made that displays the issue: https://casters-demo-git-feat-lan-94f6f6-ryan-hefners-projects-39d86e79.vercel.app/
Comment 5 Radar WebKit Bug Importer 2024-04-18 19:33:32 PDT
<rdar://problem/126727012>
Comment 6 Ahmad Saleem 2024-04-19 02:58:59 PDT
Already fixed - 275244@main

*** This bug has been marked as a duplicate of bug 269846 ***