Duplicate audio in p2p on mobile
See original GitHub issueDescription: 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:
- Created 2 years ago
- Reactions:2
- Comments:15 (5 by maintainers)
This issue was fixed in https://github.com/jitsi/lib-jitsi-meet/commit/a8e3a5748902c26ca9cf2ffcd078b2cec16e3216
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.