-
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
Safari local video track issue #1724
Comments
Hello @rickary, Thank you for reporting this - We are not aware of any open issues that would prevent local video track from rendering. Does this issue repro even when the participant does not join the room? Given that the track is seen by remote participants, looks like nothing is wrong with the video track itself. Can you post any client side debug logs when the issue repros which may also give us some clues. Thanks, Thanks, |
Hi thanks for reply. Yes we are seeing the issue with the local video preview as well as the track. As above, it’s not happening every time. Sometimes we can see an issue with the local preview but then when we enter the room the video is fine. Sometimes vice-versa. And sometimes no issues at all. Our app is one-way video so we cloned It doesn’t seem anything is wrong with the track itself or the Twilio connection but with the What logs specifically may be useful? I’m not seeing any errors/warnings from Twilio. |
I think we ran into something similar- I attached a callback to the |
I have reproduced this issue with the Twilio demo video application with room id RM0679f3946646354b3d8e9f6304863336 - I also made a mp4 recording of the issue. I will try opening a zendesk ticket as well. My device is an Apple iPhone 7, running iOS 15.3.1, using Safari browser. twilio-black-screen.mp4 |
Same issue here. In some cases, I can't even reopen the local video feed by toggling the video button. Other users are still seeing my video feed on their devices. room id: RM19d8ec3a5d44754764844199bb00b437 |
Also experiencing something similar to what @rickary is describing: |
I'm also experiencing something similar. |
Hey Everybody! Just wanted to make sure that everybody here saw the possible workaround for this issue that we have found. You can see my comment in this other ticket here: #1775 (comment) What we found, is that Safari can occasionally fail to display a local video track if this CSS is used to mirror the video: The workaround is to use a simpler 2d transform ( If you are using our Twilio Video React App, please note that this workaround has been included in version 0.6.5 which was released today. In our internal testing, we found that this completely solves the issue in the most recent version of desktop and iOS Safari (version 15.5), although we have heard from some users that the issue can still be seen periodically. If you are using CSS to mirror your local video track, please try the workaround above and let us know if it helps! We're curious to hear about what results you see. If you find that the issue still persists, please try to give us as much detail as you can about the steps that you are taking to reproduce the issue, in addition to the specific browser version(s) that you are using. Thanks!! |
We applied the workaround yesterday and at the current moment we already see a complaint that the issue is reproduced for Room SID: RM3fe29f6671b476d5e022b28b0bfdf466 In our case, it reproduced when we change the video layout from one type to another. If the user repeats manipulation again it helps to restore the video
|
I'm also seeing this on Mac iOS 15.5 Safari |
We've seen this issue on iOS safari as well
|
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Issue noticed in our React app where Safari 15 users (any device) were not able to see their local video feed (just seeing a black screen instead). This is happening both when we use
createLocalTracks
andpublications
taken from the rooms. The other user(s) see the published feed ok and the recordings for the room are fine. It’s just affecting the local participant. Audio is not affected.Found this issue https://developer.apple.com/forums/thread/690523 which appears related however both of the suggested 'fixes' don’t resolve the issue. Instead of seeing a black screen the first frame of the video is rendered but then freezes.
Note that this doesn’t happen 100% of the time. We are seeing the issue approx 25-30% of the time (more frequently on iOS devices than on mac os).
Flipping the camera or turning the video on/off seems to resolve the issue. Not seeing any console errors/warnings.
We have been able to replicate the issue using video-quickstart-js where the remote video plays but we just see a black screen for the local video however on the second device you can see both videos.
Unsure whether this is another issue with Safari 15. Any investigation appreciated.
Software versions:
The text was updated successfully, but these errors were encountered: