jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.94k stars 6.69k forks source link

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

Closed valyaevadaria closed 2 months ago

valyaevadaria commented 4 months ago

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:

Actual behavior:

Server information:

Client information:

saghul commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.