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

TypeError: Cannot read properties of null (reading 'source') #14716

Open
valyaevadaria opened this issue May 6, 2024 · 3 comments
Open

TypeError: Cannot read properties of null (reading 'source') #14716

valyaevadaria opened this issue May 6, 2024 · 3 comments

Comments

@valyaevadaria
Copy link

valyaevadaria commented May 6, 2024

Description:

When enabling end-to-end-encryption on a call, there's an error message in the browsers console and end-to-end-encryption doesn't work.

Steps to reproduce:

  1. Join a call
  2. Open the browsers console
  3. Enable the E2EE from the security options
  4. There is an error in the console, see below
  5. Try to start recording the call

Expected behavior:

  • No errors in the console
  • Recording the call doesn't start

Actual behavior:

  • There's an error message in the console:
    content.bundle.js:3 Uncaught TypeError: Cannot read properties of null (reading 'source')
    at va (content.bundle.js:3:2062)
  • Recording the call is starting

Server information:

Client information:

  • Browser / app version: Chrome 124.0.6367.119
  • Operating System: macOS Monterey 12.6
@saghul
Copy link
Member

saghul commented May 7, 2024

Hum, I am not able to reproduce the problem, but I do see another, and video goes only one way as a result:

UnhandledPromiseRejection: InvalidModificationError: Failed to execute 'setParameters' on 'RTCRtpSender': Attempted to set RtpParameters scalabilityMode to an unsupported value for the current codecs. StackTrace:  Error: Failed to execute 'setParameters' on 'RTCRtpSender': Attempted to set RtpParameters scalabilityMode to an unsupported value for the current codecs.

@jallamsetty1 Can you PTAL? Just enable E2EE and check the browser JS console for these logs.

@jallamsetty1
Copy link
Member

Yep I was looking into it yesterday. Damian and I reproduced the same issue as you. The error is a red herring, it didn't have any impact on the send video. On the receiver side though when the video is not being rendered, it is being decoded but just not rendered as the browser doesn't fire the canplaythrough event. Will continue debugging it today.

@jallamsetty1
Copy link
Member

Hi @valyaevadaria, we identified the issue that is causing this behavior on meet.jit.si. We will fix be fixing it in the next release.

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