Spreed.me and restrictive firefox chromium refuses sharing the mic

hi,

I got spree.me more or less, running with the ubuntu repos, after I enabled the line:
root = /usr/share/spreed-webrtc-server/www
which is not documented here.

Now I stuck at launching in firefox, in cromium it works but it refuses sharing the microphone.

Firefox is pretty restrictive:
Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert ("script-src https://cloud.mydomain.net 'unsafe-eval'").

Chromium gets a bit further but sticks afterward:
getUserMedia timed out(anonymous function) @ app.js:220 app.js:220 testMediaAccess failed

    ServerName cloud.mydomain.net
    Protocols h2 http/1.1
    Header always add Strict-Transport-Security "max-age=15768000"
    DocumentRoot /var/www/owncloud/
    <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>
    <Directory /var/www/owncloud/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            RewriteEngine on
            RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
            RewriteRule .* - [F]
            Order allow,deny
            allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            RewriteEngine on
            RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
            RewriteRule .* - [F]
            Order allow,deny
            Allow from all
    </Directory>
    # Spreed WebRTC config (must be in same vhost)
    <Location /webrtc>
    ProxyPass http://127.0.0.1:8080/webrtc
    ProxyPassReverse /webrtc
    </Location>
    <Location /webrtc/ws>
    ProxyPass ws://127.0.0.1:8080/webrtc/ws
    </Location>
    ProxyVia On
    ProxyPreserveHost On
    RequestHeader set X-Forwarded-Proto 'https' env=HTTPS

spreedmeconf:

[http]
listen = 127.0.0.1:8080
root = /usr/share/spreed-webrtc-server/www
basePath = /webrtc/

[app]
sessionSecret = blablabla
encryptionSecret = blablabla
authorizeRoomJoin = true
serverRealm = local
extra = /var/www/owncloud/apps/spreedme/extra
plugin = extra/static/owncloud.js

[users]
enabled = true
mode = sharedsecret
sharedsecret_secret = verysecret

I am using owncloud.domain.tld and cloud.domain.tld but I have for both the identical apache config.
I disabled http2 too for testing but that didn’t help.

Hi @dev0,

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert
This error message can be ignored. This “issue” is caused by Nextcloud and should happen for every app, not just Spreed.ME

getUserMedia timed out this indicates you didn’t allow to share an audio/video device.
Make sure to share at least one device. In Chromium, media access should be configurable in the URL bar.

Cheers,
Leon

thanks I allocat that to client issues, because crome on mobile devices can run it.