Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigblueButton Widget Issue with audio peripherals #14901

Closed
efazenda opened this issue Aug 7, 2020 · 9 comments
Closed

BigblueButton Widget Issue with audio peripherals #14901

efazenda opened this issue Aug 7, 2020 · 9 comments

Comments

@efazenda
Copy link

efazenda commented Aug 7, 2020

Description

Dear Team,

Great product !
We have an issue with the integration of Widget BigBlueButton (With BigBlueButton instance self-hosted) and Element WebApp or Element Desktop App Windows 10, when we join the conference while choosing Micro, it say's that there is an issue accessing my peripherals.

We use an self-hsoted Matrix Server
We use an selft-hosted BigBlueButton Server.

image

Version information

  • Platform: Web Browser and Application ?

For the Web app and Desktop App:

  • Browser: Chrome 84.0.4147.105
  • OS: Windows 10 Latest Version with Patches.
  • Element Desktop App : 1.7.3

Do you have an idea why this is blocking ? If you need more information don't hesitate to ask :)

Thank You.

Best Regards, Edouard Fazenda.

@bwindels
Copy link
Contributor

bwindels commented Aug 7, 2020

@anoadragon453 any ideas?

@efazenda
Copy link
Author

Hi, @bwindels

@efazenda what is the url of your widget? Can we use it to try and reproduce your issue?

It's a private room but here a new one where the problem is similar.

URL of the conference room on out BigBlueButton instance.
https://conference.csti.ch/b/faz-ttj-xkw

It you need more information don't hesitate to ask.

Best Regards, Edouard Fazenda.

@anoadragon453
Copy link
Member

Sorry for the late reply, was on holiday 🙂

I can reproduce this. Thanks for the test URL, it was quite useful. I get an error in the JS console in Chromium:

ERROR: clientLogger: Error getting microphone - {NotAllowedError: Permission denied}

which comes from here in BBB's source code.

Element does allow widget iframes microphone and camera permissions, however it looks like the widget's inner iframe does not have the microphone or camera properties, which would block access to the iframe. I'll have a play around and see if I can modify scalar's iframe to allow this.

@anoadragon453
Copy link
Member

Adding the camera; microphone feature policies to the inner iframe has allowed the widget to request camera/microphone permissions :)

A fix is now in development - will keep you posted.

@efazenda
Copy link
Author

Hi @anoadragon453 ,

No worries , Hope you enjoy your holidays :) !
Thanks a lot for the fix !

Waiting to have this released.

Have a nice day.

@anoadragon453
Copy link
Member

@efazenda The fix has been released to production as of today. Let us know if it doesn't work for you - and thanks again for reporting!

anoadragon453 added a commit to anoadragon453/matrix-dimension that referenced this issue Aug 18, 2020
@efazenda
Copy link
Author

Hi @anoadragon453 ,

Yes it's working now !

Thanks for the fix and keep up the good work :)

Cheers, Edouard.

@danielfomin96
Copy link

I am having the same problem.
I get the following error:

sip.SessionDescriptionHandler | SessionDescriptionHandler.getDescription failed - NotAllowedError: The request is not allowed by the user agent or the platform in the current context. sip.js:9594:25
sip.Inviter | Session.getOffer: SDH getDescription rejected... sip.js:9594:25
sip.Inviter | The request is not allowed by the user agent or the platform in the current context.

Version information

Platform: Web Browser and Application ?

For the Web app and Desktop App:

Browser: Firefox 88.0.1
OS: Linux
Element Desktop App : 1.7.29

@anoadragon453
Copy link
Member

@danielfomin96 Judging by the logs I think you're attempting a SIP call instead of a BigBlueButton one?

This issue was something specifically broken in the BigBlueButton widget. If you're having issues with SIP calling in Element, please open a new issue 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants