WebRTC - User medias - Black video when url changed on iOS 17.4.1

Issue: WebRTC - User medias - Black video screen when url changed. Reproduce step:

  1. Get the source code on sanbox repo above
  2. Install packages by command "npm install"
  3. Start local web-app under https by command "HTTPS=true npm start"
  4. Update url by click button "Update URL search param"

OS: iOS v17.4.1 Browser: Safari Device: iPhone 11 pro

Anyone can help?

Note: it's works on iPhone X iOS version 16

Link video issue: https://streamable.com/rj07u8

The sanbox repo: https://codesandbox.io/p/sandbox/webrtc-ios-lasted-issue-jzx9h5

@hopvv

We had exactly the same issue.

Luckily, Apple has fixed it on iOS 17.5, so you will need to upgrade and make sure all your users are on 17.5.

Do you know if it happens on iOS 17.3 and older?

WebRTC - User medias - Black video when url changed on iOS 17.4.1
 
 
Q