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

Sometimes participants can't hear other participants #5230

Closed
jonnius opened this issue Mar 18, 2020 · 73 comments
Closed

Sometimes participants can't hear other participants #5230

jonnius opened this issue Mar 18, 2020 · 73 comments
Labels
performance Issue related to performance of the app or browser when running Jitsi Meet

Comments

@jonnius
Copy link

jonnius commented Mar 18, 2020

Description

Sometimes some participants can't hear some other participants. Some findings:

  • occurs more often in meetings with many participants (does not seem to occur with 4 participants, occurs a lot with >=7 participants)
  • does not happen between users with camera enabled
  • is not necessarily bidirectional (A might hear B, while B does not hear A)
  • workarounds
    • in most cases one can work around the issue by toggling the camera
    • in some cases one can work around the issue by reloading the page
    • in some cases none of the workarounds above helps
  • issue seems to be around for years already, as it might be a duplicate to the closed issues Audio problems #1278 and Audio lost for some recipients #641

Current behavior

There is an audio-only meeting with n>7 participants. Some participants cannot hear all other participants, e.g. participant 4 cannot hear participant 3 and 7.

Expected Behavior

Every participant can hear every other participant.

Possible Solution


Steps to reproduce

Start a Jitis Meeting with as many users as possible, only enable Audio and try to speak to each other.

Environment details

Version: jitsi-meet v1.0.4101-1
Browsers tested: Chrome, Firefox on Win10 and Ubuntu 16.04

@jonnius jonnius changed the title Sometimes participants can't hear all other participants Sometimes participants can't hear other participants Mar 18, 2020
@damencho
Copy link
Member

Is Firefox involved?

@rettichschnidi
Copy link

rettichschnidi commented Mar 20, 2020

Yes
We could test again without Firefox, but it is very unlikely that we can get all our users to not use Firefox.

@damencho
Copy link
Member

We are working on improving Firefox experience, but that is for now. Firefox sometimes does not send or receive any streams ... and leads to problems. That's why we put a notification when you are on Firefox and using meet.jit.si, to warn people.

@jonnius
Copy link
Author

jonnius commented Mar 20, 2020

We experienced the issues also on Chrome.

We just updated to jitsi-meet v1.0.4296-1 and disabled Peer-to-Peer connections. On a test with 10 participants the issue did not occur on Chrome any more. On a test with everyone on Firefox 1 out of 10 could not hear some others.

@damencho
Copy link
Member

We will update very soon stable.

@Jasper-Ben
Copy link

Jasper-Ben commented Mar 23, 2020

We are experiencing the same issue with 9 people in the same room, even between users using chromium-based browsers. We also tried to connect with all participants using said browsers (which I'm 90% sure we archived) and issues still persists. So maybe not just a firefox issue?

@jonnius
Copy link
Author

jonnius commented Mar 23, 2020

We did as well before updating. Which version are you using?

@Jasper-Ben
Copy link

Jasper-Ben commented Mar 23, 2020

the latest jitsi-meet package currently available from jitsis debian repository: jitsi-meet/stable,now 1.0.4101-1

It used to work when microphone and cam where enabled by default when joining a room during our testing phase. But since we disabled that in the jitsi server settings it is completely unreliable. So for me it seems the issue is related to the (lack of) video or audio streaming.
Out of privacy concerns I am unfortunately unable to reactivate said settings to see if it makes any difference, as 20+ users in our company now expect it to be disabled by default.

Also I was able to reproduce the issue in a two-participants room (although one was using firefox), so this issue does not seem to be bound to the number of users in a room as suggested in the initial report. There might have been users in other rooms at that time though, so it might be a question of how many users are connected in general, regardless of room.
The two of us then switched to my private jitsi instance without disabled devices by default and it worked as expected.

@jonnius
Copy link
Author

jonnius commented Mar 23, 2020

You are using the very same version we experienced this issue a lot with. After updating to the 4296 build we did not see this issue on Chrome any more. We also have mic and cam disable by default.

@Jasper-Ben
Copy link

thanks for the info! will try the nightly branch then and install the same version. I will report back, if we continue to experience issues.

@jonnius
Copy link
Author

jonnius commented Mar 24, 2020

We just had a meeting with 11 participants, all on Chrome, where one participant could not be heard by some others. Reloading the page for the one fixed it. Build: 4296

@saghul
Copy link
Member

saghul commented Mar 24, 2020

Thanks for chiming in @jonnius !

@Jasper-Ben
Copy link

Jasper-Ben commented Mar 24, 2020

We just had a test meeting with 20 participants (all on chromium) and it worked flawlessly. Also build 4296. Seems to be fixed 👍

@Jasper-Ben
Copy link

Jasper-Ben commented Mar 24, 2020

P.S.: we actually had one minor issue with a participant using Vivaldi. After he switched to chrome it worked as expected. We didn't investigate further but my guess would be that Vivaldi might use an old chromium base. Just something to be aware of.

@Isolator70
Copy link

Hello, using Jitsi sporadically, but due to Corona crisis now more often.
Today I had a 2 person call between Chromium@LinuxMint_18.3_PC and Jitsi App@Android. Everything fully up-to-date. After some minutes it was not possible anymore for the Person at Android to hear the Person from the PC.
At the PC one could observe, that the microphone indicator did not react to volume put into the microphone.
Going to the settings of Jitsi in Chromium browser one could see "Permission not granted" for the audio stuff (although it was done and checked at the beginning of the meeting).
Checking the audio permission in Chromium itself, camera and audio stuff was enabled.
After closing and restarting the meeting everything was fine again, but broke down some minutes later again.
Do you think it is the same issue or shall I create another ticket?
Thank you

@Isolator70
Copy link

Isolator70 commented Mar 25, 2020

Okay, I have to add following information: Today I was in a 35 minutes video call with up to 17 participants, most of them without activated camera, 5 with camera activated. I'm sure most of them were on Windows machines, 1 maybe on Mac, 1 with iPhone, 1 with Android,
From my point of view, everything ran perfect - I couldn't see the issue of yesterday again! So I will observe the behaviour if it is random.

@keinstein
Copy link

Hi, on March 27th, we had a meeting with 3 people on meet.jit.si (I don't know which version they run). All using web browsers and we had the problem that the 3rd person connected but did not receive any audio or video. After he managed to setup his audio and video settings, person 1 could hear both 2 and 3, 2 could hear only 1, 3 only 2. So every one was streaming something to someone. But somehow the streams stopped working.

@real-or-random
Copy link
Contributor

We observed this today in 3-person call on 4384. A Jigasi/SIP peer couldn't hear an electron peer. Everything else worked. "Restarting" the stream by changing the microphone device on electron and changing back fixed this.

@thomaswucher
Copy link

We also observed this problem today on a self-hosted instance using the latest official docker images and the master branch of docker-jitsi-meet (0177765f) in a conference with 5 participants.

All participants were using Firefox. The ones which had video enabled didn't experience the problem, those with audio only could sometimes not hear all other participants. For those experiencing problems, reconnecting sometimes helped.

@Jasper-Ben
Copy link

Jasper-Ben commented Apr 28, 2020

All participants were using Firefox.

Hi Thomas, as things stand right now I'd suggest you enforce a policy of chromium based browsers only, as issues with Firefox are still being resolved. And although the related issue #4758 is marked as resolved, this to my understanding only fixes any issues on the jitsi side of things. There are still open upstream issues in Firefox (linked at the bottom of the thread).

We enforce our chromium only policy by changing the following in the interface_config.js:

OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],
UNSUPPORTED_BROWSERS: ['firefox','safari'],

This causes users trying to open jitsi with a Firefox or Safari Browser to be prompted to install the latest Google Chrome. For anyone who doesn't want to use Chrome out of privacy concerns we recommend using Chromium or Brave, as they are both open-source and (for the most part) do not include the Google tracking stuff.

@jonnius
Copy link
Author

jonnius commented May 2, 2020

Things should improve with Firefox 76.

@btsimonh
Copy link

btsimonh commented May 4, 2020

I'm currently investigating a problem with jitsi which sounds very much like this and previous descriptions.

We had 3 people on the call, All Chrome 81.0.4044.129 on windows 10 64 bit using embedded jitsi from 'https://meet.jit.si/external_api.js'. - So this may highlight that it's not a firefox only issue, and hopefully may provide some more pointers....
Certainly the 'unheard' person was sending audio, because they were heard by another, yet not heard by the third person. The 'unheard' person could hear the person who could not hear them.... The person who could not hear them could hear the other person.

Prior to integrating, we tested 7-10 calls using meet.jit.si for bulk family calls (always with video?), and apart from once on MAC which didn't screenshare whatever we did (it had previously), we had no (apparent) problems.

I find this in the browser log as a yellow:
Logger.js:154 2020-05-04T15:56:33.440Z [modules/statistics/AudioOutputProblemDetector.js] A potential problem is detected with the audio output for participant 02b26f22, local audio levels: [null,null], remote audio levels: undefined

If I separately join the room using meet.jit.si/roomname, then I too could hear the person, but not through the embedded version (could i just have been lucky?). But this was not an extensive test (3 times, it worked).

I start all the instances like this:
(i.e.
video muted; which could be related/
these ones because they mess with my audio mojo (i.e. I'm also recording quality audio from the mic, and these seem to mess with Chrome's global mic gain).
enableNoisyMicDetection:false, - I don't need or want the 'pip-pip-pip' indication by audio...
enableNoAudioDetection:false,
enableTalkWhileMuted:false,
disableAudioLevels: true,
)

            let config = {
              enableNoisyMicDetection:false,
              enableNoAudioDetection:false,
              enableTalkWhileMuted:false,
              disableAudioLevels: true,

              // whole room by creator?
              //startAudioOnly:true,
              startWithAudioMuted: true,
              // only this person
              startWithVideoMuted: true,
              enableCalendarIntegration: false,
              disableThirdPartyRequests: true,
              disableRecordAudioNotification: true,
              //testing:{
                //noAutoPlayVideo:true,
              //},
              //chromeExtensionBanner: {},
              disableInviteFunctions: true,
              disableRemoteMute: true,
            };

            let interfaceConfig = {
              DISPLAY_WELCOME_PAGE_CONTENT: false,
              MOBILE_APP_PROMO: false,


            };

            this.jitsi_api = new JitsiMeetExternalAPI('meet.jit.si', {
              parentNode: this.$refs['putithere'],
              roomName: this.settings.roomName,
              configOverwrite: config,
              interfaceConfigOverwrite: interfaceConfig,
            });

it's important I work around this in the very short term; any ideas?

Simon

@Jasper-Ben
Copy link

video muted; which could be related/

In my experience the issue described here only occurs when disabling audio on entering the room.
So changing startWithAudioMuted: true, to startWithAudioMuted: false, might be a short term workaround?

Other than that, I cannot really help as I am unfamiliar with the api.

@btsimonh
Copy link

btsimonh commented May 6, 2020

something else; watch out for
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
I think this prevented one of my jitsi clients from starting audio?

@luixxiul luixxiul added the performance Issue related to performance of the app or browser when running Jitsi Meet label May 24, 2020
@tomkel
Copy link

tomkel commented May 27, 2020

I still have this bug in rel 4548. In a call with ~15 people

@domrim
Copy link

domrim commented Jun 24, 2021

@jallamsetty1 we have the same issues as everyone else here. Is this fix allready present in jitsi/stable? or better: which commit fixed the issue?

@loelkes
Copy link

loelkes commented Jun 24, 2021

Hi Dominik ;)

@jallamsetty1 we have the same issues as everyone else here. Is this fix allready present in jitsi/stable? or better: which commit fixed the issue?

Check your JavaScript console logs on the clients facing the audio issues. If there are AudioContext errors than try enabling the pre-join page. If the browser enforces the requirement for an user gesture before accessing the AudioContext it seems there's no way around the pre-join page. It seems a bit random how strictly browser implement this.

Enabling the Pre-Join page solved an incredible amount of issues related to audio on all my setups.

@franciscoescher
Copy link

Also getting this error using the open service (https://meet.jit.si/), using chrome

@midn1
Copy link

midn1 commented Dec 6, 2021

Still happens on meet.ji.si, and it is very difficult to keep people from Zoom when this sort of thing is common..

@c0m1t
Copy link

c0m1t commented Dec 7, 2021

Using pre-join page and there shouldn't be a problem. It needs a gesture or webrtc session before playing it is how Google changed it ... not sure about FF though.

@damencho We have a prejoin page but sometimes on chrome browser on mobile we get this error:

​ The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
(anonymous) @ lib-jitsi-meet.min.js:1
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:10
(anonymous) @ lib-jitsi-meet.min.js:10
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:10
(anonymous) @ lib-jitsi-meet.min.js:10
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:10
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:17
(anonymous) @ lib-jitsi-meet.min.js:17
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:17
n @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1
lang/countries-fa.json?r=1638779169516:1 Failed to load resource: the server responded with a status of 404 ()
​ [Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet)
_initializeAudioContext @ lib-jitsi-meet.min.js:1
c @ lib-jitsi-meet.min.js:1
(anonymous) @ lib-jitsi-meet.min.js:1

When this happens other participants cannot hear the participant audio.

@saghul
Copy link
Member

saghul commented Dec 7, 2021

Folks, this issue is really old, please open a new one and provide as much info as you can. Thank you!

@de1phi48
Copy link

Good day, we have a same problem. in a conference of 15 people, one or two people may not be able to hear the others, and the microphone stops working. We use own instanse Jitsi+Rocket.Chat

@havaeng
Copy link

havaeng commented Jan 18, 2024

Hello, just wanted to inform that I'm experiencing this right now. I can't hear 2 of the 7 participants (not counting myself). Everyone can hear me. Safari version 17.0 (19616.1.27.211.1)

@saghul
Copy link
Member

saghul commented Jan 18, 2024

@jallamsetty1 ^

@jallamsetty1
Copy link
Member

Hi @havaeng, can you please share more details? Is this happening on meet.jit.si or on your deployment? Were you able to hear those 2 users in the beginning and then stopped hearing them all of a sudden or did the issue exist from the moment those users unmuted themselves and started speaking? Will you be able to share the full browser console logs for the call when this issue reproduces?

@isality
Copy link

isality commented Jul 16, 2024

Same issue.

Firefox 128.0
Jitsi stable-9457

no sound and video in Firefox. Chrome works fine.

I got error messages in console:

2024-07-16T08:38:31.726Z [modules/statistics/AudioOutputProblemDetector.js] <526/_onLocalAudioLevelsReport/<>:  A potential problem is detected with the audio output for participant 63c60420, local audio levels: [null,null], remote audio levels: undefined [Logger.js:155:26](webpack://JitsiMeetJS/node_modules/@jitsi/logger/lib/Logger.js)
2024-07-16T08:38:31.727Z [modules/statistics/AudioOutputProblemDetector.js] <526/_onLocalAudioLevelsReport/<>:  A potential problem is detected with the audio output for participant becfffa0, local audio levels: [null,null], remote audio levels: undefined [Logger.js:155:26](webpack://JitsiMeetJS/node_modules/@jitsi/logger/lib/Logger.js)
2024-07-16T08:38:31.727Z [modules/statistics/AudioOutputProblemDetector.js] <526/_onLocalAudioLevelsReport/<>:  A potential problem is detected with the audio output for participant 3f6da3ec, local audio levels: [null,null], remote audio levels: undefined [Logger.js:155:26](webpack://JitsiMeetJS/node_modules/@jitsi/logger/lib/Logger.js)
2024-07-16T08:38:31.727Z [modules/statistics/AudioOutputProblemDetector.js] <526/_onLocalAudioLevelsReport/<>:  A potential problem is detected with the audio output for participant e3aee918, local audio levels: [null,null], remote audio levels: undefined

Could someone check that?

@saghul
Copy link
Member

saghul commented Jul 16, 2024

CAn you reproduce this consistently? Can you please share the full JS console logs?

@isality
Copy link

isality commented Jul 16, 2024

@saghul hi, full console log in attachment.

stepps to reproduce:

  1. go to any rooms
  2. no one hears what I say
  3. I can't hear anyone
  4.  web camera does not work also

if im changed browser on google chrome, evrything works fine

console-export-2024-7-16_16-39-23.txt

@saghul
Copy link
Member

saghul commented Jul 16, 2024

The link seems to be broken.

@isality
Copy link

isality commented Jul 16, 2024

@saghul link fixed

@jallamsetty1
Copy link
Member

Can you please try with the latest stable? There were some breaking changes with Firefox and DTLS 1.3 that have been addressed recently in the JVB.

@isality
Copy link

isality commented Jul 17, 2024

yes, I can, but it will take a lot of time. The update process is very slow in my company.

@jallamsetty1
Copy link
Member

jallamsetty1 commented Jul 17, 2024

Can you reproduce the issue with older versions of Firefox? If not, then the DTLS change in latest FF is the likely culprit and updating the JVB is the only option then. JVB ICE never got established as per the browser console log so it does seem very likely that its the DTLS issue.

@isality
Copy link

isality commented Jul 17, 2024

Firefox 125 same. No sound / video. Tested on mac pro (m2) and ubuntu 22.04.

@jallamsetty1
Copy link
Member

Firefox 125 same. No sound / video. Tested on mac pro (m2) and ubuntu 22.04.

Are you able to reproduce this on meet.jit.si?

@isality
Copy link

isality commented Jul 17, 2024

meet.jit.si - works fine!

@isality
Copy link

isality commented Jul 18, 2024

@jallamsetty1 hi! whats version of jvb server and jitsi using meet.jit.si?

@saghul
Copy link
Member

saghul commented Jul 18, 2024

That deployment is always a bit ahead of our stable releases, but in your case using the latest stable release should do it.

@isality
Copy link

isality commented Jul 18, 2024

@saghul thank you. I think the update will solve my problem.

@isality
Copy link

isality commented Jul 22, 2024

after update on latest stable release - firefox works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Issue related to performance of the app or browser when running Jitsi Meet
Projects
None yet
Development

No branches or pull requests