Web: Audo and video error: the object cannot be found

User on MacOS 10.14.6, cannot access audio or video on Firefox (v88.0) or Chrome (v 90.0.4430.85) browsers.

Browser permissions are ignored, and the following error is displayed: “Audio and video error: the object cannot be found”

Note: this problem does not occur in Safari Version 14.0.3 (14610.4.3.1.7)

What do you see in the browser console?

Following is the console error (I’m allso seeing a CORS violation on the main jit.si landing page and meeting page as well as a failure to create tracks error, see at bottom):

Object Not Found Error:

    2021-04-25T14:03:36.961Z [features/base/tracks] <h/</<>:  Failed to create local tracks 
Array [ "video" ]
 DOMException: The object can not be found here. Logger.js:154:22
    o Logger.js:154
    h functions.js:135
    (Async: promise callback)
    h functions.js:134
    (Async: promise callback)
    h functions.js:112
    r conference.js:606
    (Async: promise callback)
    createInitialLocalTracks conference.js:597
    init conference.js:802
    s actions.web.js:31
    (Async: promise callback)
    s actions.web.js:30
    a Redux
    <anonymous> middleware.js:29
    <anonymous> middleware.js:32
    <anonymous> middleware.js:31
    <anonymous> middleware.web.js:31
    <anonymous> middleware.any.js:22
    <anonymous> middleware.js:67
    <anonymous> middleware.js:43
    <anonymous> middleware.js:61
    <anonymous> middleware.js:83
    <anonymous> middleware.js:71
    <anonymous> middleware.js:78
    <anonymous> middleware.js:39
    <anonymous> middleware.js:106
    <anonymous> middleware.js:38
    <anonymous> middleware.js:33
    <anonymous> middleware.web.js:24
    <anonymous> middleware.any.js:93
    <anonymous> middleware.js:77
    <anonymous> middleware.web.js:20
    <anonymous> middleware.js:44
    <anonymous> middleware.js:25
    <anonymous> middleware.js:16
    <anonymous> middleware.js:21
    <anonymous> middleware.js:23
    <anonymous> middleware.js:21
    <anonymous> middleware.js:148
    <anonymous> middleware.js:59
    <anonymous> middleware.js:36

CORS Error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.amplitude.com/. (Reason: CORS request did not succeed).

Ajax Bad Request Error:

https://auth.callstats.io/authenticate
XHRPOSThttps://auth.callstats.io/authenticate
[HTTP/2 400 Bad Request 4172ms]
	
error	"invalid_request"
error_description	"Invalid token"
urn:x-callstats:auth:errorActions	[ {…}, {…}, {…} ]
0	Object { action: 2, params: {…} }
action	2
params	Object { errorCode: 6, errorReason: "Invalid token" }
errorCode	6
errorReason	"Invalid token"
1	Object { action: 1 }
action	1
2	Object { action: 0, params: {…} }
action	0
params	Object { timeout: 2000 }
timeout	2000

Create Track Error:

2021-04-25T14:03:36.949Z [features/base/tracks] <h/</<>:  Failed to create local tracks 
Array [ "audio", "video" ]
 DOMException: The object can not be found here. Logger.js:154:22
    o Logger.js:154
    h functions.js:135
    (Async: promise callback)
    h functions.js:134
    (Async: promise callback)
    h functions.js:112
    createInitialLocalTracks conference.js:555
    init conference.js:802
    s actions.web.js:31
    (Async: promise callback)
    s actions.web.js:30
    a Redux
    <anonymous> middleware.js:29
    <anonymous> middleware.js:32
    <anonymous> middleware.js:31
    <anonymous> middleware.web.js:31
    <anonymous> middleware.any.js:22
    <anonymous> middleware.js:67
    <anonymous> middleware.js:43
    <anonymous> middleware.js:61
    <anonymous> middleware.js:83
    <anonymous> middleware.js:71
    <anonymous> middleware.js:78
    <anonymous> middleware.js:39
    <anonymous> middleware.js:106
    <anonymous> middleware.js:38
    <anonymous> middleware.js:33
    <anonymous> middleware.web.js:24
    <anonymous> middleware.any.js:93
    <anonymous> middleware.js:77
    <anonymous> middleware.web.js:20
    <anonymous> middleware.js:44
    <anonymous> middleware.js:25
    <anonymous> middleware.js:16
    <anonymous> middleware.js:21
    <anonymous> middleware.js:23
    <anonymous> middleware.js:21
    <anonymous> middleware.js:148
    <anonymous> middleware.js:59
    <anonymous> middleware.js:36

2021-04-25T14:03:36.956Z [features/base/tracks] <h/</<>:  Failed to create local tracks 
Array [ "audio" ]
 DOMException: The object can not be found here.

2021-04-25T14:03:36.961Z [features/base/tracks] <h/</<>:  Failed to create local tracks 
Array [ "video" ]
 DOMException: The object can not be found here.

I tried to reproduce this on a macOS Mojave laptop with latest Chrome Beta, but I couldn’t.

Did you try these versions?

Here is more info on how to repro and debug in Firefox CORS issues:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors

Are you able to repro in an “Incognito” window?
What are you security level and third-party cookie settings ub your browser?

I tried Chrome 90, mostly default settings, nothing special. Do you have any privacy related addons installed? Any chance the fiddle with WebRTC support?

You might have to allow camera and video access in System Preferences / Security & Privacy: