question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate audio in p2p on mobile

See original GitHub issue

Description: Duplicate audio in p2p on mobile

Hello,

We are encountering some issues with the latest releases of lib-jitsi-meet on mobile. When two participants are in the room, the audio is duplicated and slightly time shifted, creating an echo effect. We have observed the shift to be up to a few seconds. As soon as a third participant joins the call, the duplicated tracks disappear and the audio appears normal. However the audio would be duplicated again once the third person leaves.

We have tried rolling back through the different versions of the library to pinpoint when this appeared. The issue appears on release 5515, and is not reproducible on release 5513. The diff between these show a single commit related to video contraints.

The issue is not reproducible when running inside of a web browser on desktop. On all our tests on mobile, we have fixed the react-native-webrtc version to 1.89.2 so it seems not to be at fault here.

We have been able to successfully reproduce the issue on the official Jitsi iOS client (21.1.0). It therefore seems that our own client code is not at fault here.

The issue only appears when p2p.enabled is set to true, when it is set to false the issue does not appear. It seems to be an issue with p2p. When the 3rd user leaves the call it also takes a bit of time before the audio gets duplicated, looks like the time needed to switch back to p2p, which points in the same direction.

As the pinpointed commit has some relation with video constraints, here are the contraints used on our side during testing.

{
  "resolution": 360,
  "fps": 25,
  "constraints": {
    "video": {
      "height": { "ideal": 720, "max": 720, "min": 180 },
      "width": { "ideal": 1280, "max": 1280, "min": 320 },
      "aspectRatio": 16 / 9,
    },
  },
};

Please let me know if I can provide any additional information on the matter.

Best regards

Current behavior

In 1-1 call (p2p ), the audio is duplicated and slightly time shifted, creating an echo effect.

Expected Behavior

the audio should not have echo effect.

Steps to reproduce

Start a 1-1 call on the official Jitsi iOS client (21.1.0) (both user using iOS, I did NOT test Android)

  • you can join third user to the call, echo effect will disappear
  • when third user leave, and wait a while, echo effect will appear again

community jitsi

I posted this issue to community, currently, no one reply now. so I forward to here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
saghulcommented, Mar 7, 2022

This is fixed in the apps version 22.0.1. Android is rolling out but it’s not fully rolled out yet, so make sure you check the version, you might have not received the update yet. We hope to complete the rollout this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate audio in p2p on mobile - Jitsi Community Forum
When two participants are in the room, the audio is duplicated and slightly time shifted, creating an echo effect. We have observed the...
Read more >
Sharing audio input - Android Developers
If two or more apps want to capture audio at the same time, there can be a problem delivering the audio signal from...
Read more >
Realtime Transfer (Stream) the Audio to "another mobile ...
Realtime Transfer (Stream) the Audio to "another mobile" device "directly" without any in-between components? [duplicate] · Ask Question. Asked ...
Read more >
Duplicating an audio channel - VideoStudio Pro
To duplicate an audio channel, click the Sound Mixer button in the toolbar. Click the Attribute tab and select Duplicate audio channel.
Read more >
About Piracy - RIAA
The Law · It's okay to copy music onto special Audio CD-R's, mini-discs, and digital tapes (because royalties have been paid on them)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found