kevinshen56714 / SkyOffice

Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.

Home Page:https://sky-office.co/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot connect microphone/camera nor share screen when exposing service

diningphil opened this issue · comments

Hi,

I managed to deploy SkyOffice on a server in an internal network. When I do port forwarding and connect to localhost:[port], I am able to connect the webcam and microphone. Instead, when I expose the service with --host and try to connect my camera, this does not work. I get the following error in Firefox when inspecting the page

Uncaught (in promise) TypeError: 'microphone' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.
checkPreviousPermission WebRTC.ts:58
launchGame Bootstrap.ts:96
handleConnect RoomSelectionDialog.tsx:115

Have you experienced this error? Could you help me? The same happens on Chrome and Edge.

Thanks!