Bug 272704

Summary: REGRESSION (iOS 17.4.1): Video track is muted on pushState()
Product: WebKit Reporter: JH <jhenderson2177>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, ap, hi, jer.noble, john.graumann, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: iPhone / iPad   
OS: iOS 17   
Attachments:
Description Flags
html/js to reproduce the issue none

JH
Reported 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
Attachments
html/js to reproduce the issue (1.61 KB, text/html)
2024-04-15 14:59 PDT, JH
no flags
Alexey Proskuryakov
Comment 1 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?
JH
Comment 2 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
john.graumann
Comment 3 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.
Ryan Hefner
Comment 4 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/
Radar WebKit Bug Importer
Comment 5 2024-04-18 19:33:32 PDT
Ahmad Saleem
Comment 6 2024-04-19 02:58:59 PDT
Already fixed - 275244@main *** This bug has been marked as a duplicate of bug 269846 ***
Note You need to log in before you can comment on or make changes to this bug.