communication-ui-library icon indicating copy to clipboard operation
communication-ui-library copied to clipboard

I can't turn on and off the microphone and camera after entering the room with ipad

Open strawhat-shima opened this issue 1 year ago • 5 comments

Describe the bug; what happened? In a sample program using CallWithChatComposite, after joining a group call on an Ipad, tapping the microphone and camera toggle buttons on the ControlBar does not respond. Local video before entering the room can be turned on and off. at IPad iOS15.7

strawhat-shima avatar Oct 20 '22 04:10 strawhat-shima

Thanks for raising the issue @strawhat-shima! I will bring this to the team and we will start taking a peak into this. In the mean time could you send me a little more information about which version of the communication-ui-library that you are using?

dmceachernmsft avatar Oct 20 '22 15:10 dmceachernmsft

I believe I was able to reproduce the issue. To clarify when you action the microphone and camera buttons the buttons don't toggle microphone and camera state and they open the device selection tabs?

https://user-images.githubusercontent.com/94866715/197009656-1de86d80-4811-42b7-8fb2-1556028ac9c0.mp4

dmceachernmsft avatar Oct 20 '22 16:10 dmceachernmsft

Update: From what we can tell this is a issue with Fluent one of our dependencies so we have filed and issue with them: https://github.com/microsoft/fluentui/issues/25323

A short term fix for this issue would be to set the formFactor prop on the CallWithChat composite to 'mobile' and you will get the standard buttons that you can action properly on mobile devices. Please do let me know if you have any questions about doing this, happy to help out!

dmceachernmsft avatar Oct 20 '22 18:10 dmceachernmsft

Thank you for confirmation. I tried adding the isIPad function and setting the formFactor to 'mobile'. I can now switch the mic on/off. Thank you for your workaround.

strawhat-shima avatar Oct 21 '22 01:10 strawhat-shima

Excellent! Glad that we could help in the short term! will keep the issue open and update when we know more from fluent.

dmceachernmsft avatar Oct 21 '22 16:10 dmceachernmsft