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

"t.width is undefined" error when activating camera with Firefox #15642

Open
1 of 11 tasks
mkraetke opened this issue Feb 20, 2025 · 9 comments
Open
1 of 11 tasks

"t.width is undefined" error when activating camera with Firefox #15642

mkraetke opened this issue Feb 20, 2025 · 9 comments

Comments

@mkraetke
Copy link

mkraetke commented Feb 20, 2025

What happened?

Jitsi is unable to activate the camera during meetings with Firefox. The camera remains black in Jitsi even though the laptop physically activates it.

Platform

  • Chrome (or Chromium based)
  • Firefox
  • Safari
  • Other desktop browser
  • Android browser
  • iOS browser
  • Electron app
  • Android mobile app
  • iOS mobile app
  • Custom app using a mobile SDK

Browser / app / sdk version

135.0.1 (64-Bit)

Relevant log output

Please see screenshot.

Reproducibility

  • The problem is reproducible on meet.jit.si

More details?

Image

@saghul
Copy link
Member

saghul commented Feb 20, 2025

Can you please share the full output of the JS console?

@mkraetke
Copy link
Author

2025-02-20T11:38:04.332Z [features/base/tracks] <bB/</<>: Failed to create local tracks
Array [ "video" ]
TypeError: t.width is undefined
Yh JitsiLocalTrack.js:121
op RTC.js:66
op RTC.js:48
obtainAudioAndVideoPermissions RTC.js:186
Logger.js:155:26
r Logger.js:155
bB functions.web.ts:68

@saghul
Copy link
Member

saghul commented Feb 20, 2025

Very odd. I am unable to reproduce this. Have you seen this @jallamsetty1 ?

@jallamsetty1
Copy link
Member

Nope and I am unable to repro this myself. @mkraetke Can you please share the log that shows what getUserMedia constraints are being passed?

@jallamsetty1
Copy link
Member

Alternately, you can execute the following command on the browser console when you are in a conference and share the output with us.

APP.store.getState()['features/base/config'].constraints

@mkraetke
Copy link
Author

I made a screenshot. Firefox does not copy the entire message, so hope this helps:

Image

@saghul
Copy link
Member

saghul commented Feb 20, 2025

Ha, so width is not defined? You marked the box for "The problem is reproducible on meet.jit.si" but our config is different than what you showed. Where exactly are you testing?

@mkraetke
Copy link
Author

Sorry, this was my fault. We're using jitsi self-hosted on our server.

@saghul
Copy link
Member

saghul commented Feb 21, 2025

Can you please share your config.js file?

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

No branches or pull requests

3 participants