Websdk issue ios camera toggle from version 0.5.28.2753.150 (october)

Hi there

Seems like there's an issue with media devices on IOS going from websdk 0.5.28.2753.149 to all new versions including the latest 0.5.28.2753.154

Running latest wcs 5.2.873

We have a video chat where users can toggle cameras, on android it works ok, on ios tested version 14.0 and 14.3 it fails to toggle "back camera" looks like it does not get media devices, error "less than 2 cams"
 
Hi Max

Thanks for the reply, yes the media device example works fine, we use that one already for single video calls without any issues. We only have the issue when we use the room API, where the update breaks the camera switch on IOS.

Comparing the flashphoner.js from 0.5.28.2753.149 with 0.5.28.2753.150 there seems to be added a fix on line 15143 not sure if it´s related to that ..
 

Max

Administrator
Staff member
Thanks for the reply, yes the media device example works fine, we use that one already for single video calls without any issues. We only have the issue when we use the room API, where the update breaks the camera switch on IOS.
Please provide the code example to reproduce the issue using this private form
 
Thanks Max, i submitted a link to a working example where you can test the IOS camera switch issue, it reports also the "error message"
 

Max

Administrator
Staff member
Got the example. Added
Code:
Flashphoner.getMediaDevices(null, true);
to init_page() in the conference.js, and camera switch started working.
 
Top