-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile Safari & Chrome on iOS 15.1 crash when publishing an H264 local video track #1611
Comments
Hey there @Bumbolio! Thank you for opening this issue with us! I'm currently updating to iOS 15.1 in order to investigate this issue. I'll keep this thread updated. Best, |
Folks, As I've been able to reproduce this, I've filed an internal ticket (VIDEO-7491) in order to investigate this issue further. @Bumbolio, thank you for providing all of the useful information. We appreciate your patience as we navigate these WebKit issues! I will keep this issue open and update as we have more developments. Best, |
I can confirm that I am seeing the same issue on ios15.1 beta.In my case it seems to crash when publishing remote audio or video tracks... |
Thanks for your help @PikaJoyce, let me know if you need any other info! |
known issue: https://bugs.webkit.org/show_bug.cgi?id=232006 |
Can @twilio advise on how to resolve this issue now that iOS 15.1 is released?? |
Please use VP8 as a workaround for now, until apple fixes this bug: https://bugs.webkit.org/show_bug.cgi?id=231505 |
@twilio any update on this issue? |
As a workaround I've set |
Based on our own testing, this appears to be resolved in the iOS 15.2 beta. |
Thank you for the suggestion, but it doesn't work for us. It still crashes. |
We used the import TwilioVideo from 'twilio-video';
await TwilioVideo.connect(token, {
name,
preferredVideoCodecs: [ 'VP8' ]
}); |
That's how we tried to apply suggested fix: import { connect, LocalVideoTrack, createLocalTracks } from 'twilio-video'
connect(data.token, {
tracks,
name: roomName,
networkQuality: {
local: 3
},
preferredVideoCodecs: [{ codec: 'VP8', simulcast: false }]
}) Actually, I've tried all of the available combinations from their docs: https://www.twilio.com/docs/video/tutorials/developing-high-quality-video-applications#collaboration-mode Additionally I've tried several twilio-video package versions starting from Unfortunatelly it still crashed on my iPhone 12 iOS 15.1 😞 |
Maybe we should update the title and pin the issue? Its not beta only anymore and this is a pretty big issue. |
@MEGApixel23 are you still seeing the issue on iOS 15.2 beta? |
We haven't tested with iOS 15.2 yet. Is there a safe way to do it considering that I have only one iPhone 😅 ? |
@MEGApixel23 Not sure if there's other more reliable way to test. Can you please try it on our quick deploy react app? This is configured to use VP8. If you are able to reproduce the crash with the quick deploy app using VP8, please file a separate ticket. |
I verified and this seems to have been resolved on iOS 15.2 beta |
@charliesantos is right. iOS 15.2 beta works well with h264 |
This workaround not working for me. Any feedback would be appreciated. |
@Bikash-lama can you please try on iOS 15.2 beta and see if you're still having this issue? If you're still seeing it, please submit a different ticket. It may be something that is not related to h264 |
@charliesantos Confirmed working on iOS 15.2 beta 3. However, the same app crashes on iOS 15.1 😞 |
iOS 15.2 will probably be generally available around the end of this month. Apple is not going to patch this in iOS 15.1. |
Yes,if you can get away with using VP8 then this is a good workaround. Our application requires H264, so the only solution for us is to wait for iOS 15.2 to be generally available. |
it's still not working for me. I am currently using Twilio 2.8.0 CDN approach rather than a package. May be thats why the workaround is not working for me. CDN url: https://media.twiliocdn.com/sdk/js/video/releases/2.8.0/twilio-video.min.js |
I think you have to update your SDK bro |
This is a serious issue for us. Is there anything that can be done to circumvent this via the Twilio SDK? I'm not expecting a production iOS release for another few weeks. |
Hi @darrenmhill , unfortunately we cannot really do anything on the sdk. Your application needs to use vp8 for now if possible. |
HI Team we are seeing another issue where On Android 12 H264 preferred codec does not encode video properly tried the same url on Pixcel 3a https://switcher-video-chat.switcher-studio.workers.dev/3ca560d9-dda0-4f7e-bf34-8bf720fe34a8 Does not happen on android 11.0 |
Hi @arun3528 Thank you for your comment. We currently have an open issue with regards to your comment! To forward that information from that thread over, we don't have any workarounds currently for this issue. So we're currently waiting on a Chrome fix which should be coming soon. Thanks, |
We verified this is fixed on iOS 15.2. |
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Code to reproduce the issue:
Here is a live example using twilio-video 2.18
https://switcher-video-chat.switcher-studio.workers.dev/3ca560d9-dda0-4f7e-bf34-8bf720fe34a8
Expected behavior:
When connecting to an H264 only Group Room, the local video track should be published successfully while using Safari or Chrome on iOS 15.1 (beta).
Actual behavior:
When connecting to an H264 only Group Room, if a local video track is provided when connecting while using Safari or Chrome on iOS 15.1 (beta), the browser tab crashes and the browser reloads the page.
Additional Information
This is happening on the latest iOS 15.1 beta which appears to be the release candidate for iOS 15.1. There is a Webkit bug filed for a similar issue that has already been patched, but it's not clear if this will make it into the final release of iOS 15.1. According to the bug filed with Webkit, it appears to crash the tab when switching the video track off or on, but we're not doing that in our example. The tab crashes as soon as we connect to the room and the local video track is published.
I was also able to reproduce this bug in the twilio-video-app-react reference project.
Software versions:
The text was updated successfully, but these errors were encountered: