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

Firefox support in CallComposite

Open Mrlten opened this issue 7 months ago • 5 comments

I'm not sure whether this should be considered a bug or a feature request.

Describe the bug; what happened? Starting the CallComposite preview in Firefox results in no cameras found and the following errors in the browser console:

permissions API is not supported by browser TypeError: 'camera' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.
permissions API is not supported by browser TypeError: 'microphone' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.

According to the Azure Communication Services documentation the SDK should support Firefox, but what about the UI library?

What are the steps to reproduce the issue?

  1. Start up Firefox
  2. Go to the CallComposite preview
  3. Enter a valid user identifier and token
  4. Allow the site to use your camera and microphone
  5. The CallComposite is now loaded with 'no cameras found' under the cameras dropdown. Also the camera of the live preview cannot be enabled. And lastly the mentioned errors are logged to the browser console.

What behavior did you expect? I would expect Firefox to be supported by the UI library.

If applicable, provide screenshots: image

In what environment did you see the issue? The Storybook demo/preview site. According to a log line in the console: This Storybook was compiled for @azure/communication-react version 1.10.0-beta.1

  • OS & Device: Windows on PC
  • Browser: Mozilla FireFox
  • Browser Version: 119.0.1

Mrlten avatar Nov 15 '23 10:11 Mrlten

Thanks for opening this issue! Looking at our repo code, looks like we are doing some permission query in the file packages/react-composites/src/composites/CallComposite/utils/Utils.ts

Will open a bug and doing follow up investigation of fixing this!

PorterNan avatar Nov 15 '23 18:11 PorterNan

Hi @Mrlten as of right now firefox is only in public preview for the azure/communication-calling package and the UI library. As a result there will be some hiccups with the two SDK's. In the mean time until we fully support our calling experiences on the browser we recommend using another browser like Chrome, Edge or Safari depending on your platform. Please see our browser support docs here: https://learn.microsoft.com/en-us/azure/communication-services/concepts/voice-video-calling/calling-sdk-features

dmceachernmsft avatar Nov 23 '23 23:11 dmceachernmsft

Internally we have filed work to update the UI library to fully support Firefox but as of today it is unsupported.

JamesBurnside avatar Dec 11 '23 15:12 JamesBurnside

@JamesBurnside If this is going to be fixed, maybe we could leave this issue open?

As it's a useful way for us to track when firefox support will be supported - because it not 'completed' nor is it a won't fix. I was just hit with this, and didn't find as a open issue.

Firefox support is important to our customers.

jahead avatar Mar 04 '24 12:03 jahead

We have the same issue. any timeline for it?

mahdi-openup avatar Apr 05 '24 15:04 mahdi-openup