Camera only works the first time on iOS safari. (Alpha release)
See original GitHub issueI am trying to connect to a meeting from iOS safari browser. It works fine the first time I start the camera. But if I switch it off and then try turning it on again, it doesn’t start.
On browser console I can see the following warning :
2020-05-29T04:16:11.316Z [modules/RTC/RTCUtils.js] Failed to get access to local media. Error: Invalid constraint [object Object]
And the following error :
[native code]:1 2020-05-29T04:16:11.320Z [features/base/tracks] set track unmute failed s {gum: Object, name: "gum.general", message: "Invalid constraint", stack: "s@https://alpha.jitsi.net/libs/lib-jitsi-meet.min.…s?v=4163:1:92377↵promiseReactionJob@[native code]", constructor: function}
I am using the alpha version to test this because the current stable version doesn’t even start the camera not even the first time.
Can anyone help? Is it the web thing or something related to the video bridge?
Steps to reproduce:
- Open the web version of alpha.jitsi.net on iOS safari.
- Grant access to camera
- Open the camera by clicking the camera icon: It will open up your camera
- Stop the camera by clicking again on the same button
- Then click on the button to start again : Camera won’t start and it will give the above error in the browser console.
Client information:
- Browser / app version: Safari/ Safari 12
- Operating System: iOS
Expected behavior:
The camera should start again after clicking the button.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (8 by maintainers)
Top GitHub Comments
@jallamsetty1 - I can’t even imagine how tricky it must have been to bring this feature to life… great job!
Yeah, I can give those a try but we also have “playsinline” atrribute set to true on the video element so theoretically the preview should not start in full screen mode on iOS 10 and newer versions. I will try to hide the media controls, thanks for the suggestion @saghul.
@nathankurtyka, you can exit full screen with a pinch gesture and the preview will continue to play inline and you should be able to continue with the conference.