Open jellykells opened 4 years ago
Matrix' widget API used to be a bit lacking (especially wrt to formal specification) when I wrote those instructions. Basically, mumble-web used to pretend to be a Jitsi widget, so Riot would grant it permissions for staying always on screen (https://github.com/matrix-org/matrix-doc/issues/1354) even if you switch to a different chat. IIRC pretending to be Jitsi was also the only way to be granted access to the microphone.
I wouldn't be surprised if this no longer works (it was never formally specified anyway). It might also have never worked with Dimension in the first place (I never tried).
I'd suggest you ask in riot-web and/or dimension's room whether above workaround should still be functional and if it shouldn't, how to get around that (from a quick look at https://github.com/matrix-org/matrix-doc/issues/1236, I don't see anything that's changed).
I noticed that the mumble-web widget never requests permission to access my mic. Is that relevant?
IIRC riot-web adds a flag to all widgets (except jitsi) which automatically denies any mic access. Dunno if it still does that, it's been some time since I looked at it, but that'd explain what you're seeing.
Unless that flag is separate from and overrides the iframe attributes, it would seem that microphone access is allowed.
allow="microphone; camera; encrypted-media; autoplay;"
sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-presentation"
I tried adding an actual Jitsi widget and it doesn't request permissions either. Thinking it may be a Dimension issue.
Regarding mic permissions, Firefox requests them correctly.
However, Firefox then fails to make a wss:// connection 🙃
I have a Matrix Synapse server using Matrix Dimension as its integration manager.
I followed the instructions at https://github.com/Johni0702/mumble-web#matrix-widget to create a widget of my mumble-web installation. After entering the server password my voice is not captured and I see the following error in the console:
If I click on the settings icon I see the following similar but different error:
Browser: Vivaldi/2.9.1705.41 (Chrome/78.0.3904.99) Mumble-web: 0.5.1 Murmur: 1.3.0 Riot Web: 1.4.0-1.5.3 Matrix Dimension: v1.0.0