Black screen for local camera stream on iphone mobile safar 14
Hi am using library for almost 1 year.Yesterday the problem started with iphone devices . On investigation i came to know the apple release mobile safari 14 and right after that local video stream from iphone is not working and it shows black screen. I have tested and looks like there is access issue for camera. I also noticed that if i click on video icon in safari address bar twice video work perfectly after that...
To replicate problem go to
https://rtcmulticonnection.herokuapp.com/demos/video-conferencing.html
With iphone ios 14
Any idea what is actually causing that and whats the fix
We are experiencing the same problem, I have reported it here #961
I have the same problem.
me too
the problem is in getRMCMediaElement function.
comment out
mediaElement.srcObject = stream;
this line and it will work. the reason might be is that you cant create more than 1 media element with local stream
I found that setting the autoCreateMediaElement property to false on the connection object also works