lib-jitsi-meet icon indicating copy to clipboard operation
lib-jitsi-meet copied to clipboard

Using multi-stream, I cannot add a video track after one was removed.

Open maxired opened this issue 2 years ago • 2 comments

Description

Using multi-stream, I cannot add a track after one was removed.

As a user creating a camera track, then a screen share track, then removing my camera track, then recreating one

Current behavior

Both tracks cannot be seen

Expected Behavior

A remote participant can see both tracks

Possible Solution

I think the source name in https://github.com/fres-co/lib-jitsi-meet/blob/d81a1d8b9c42b0b0bb7bde6f8e4432ae051ad08c/JitsiConference.js#L1138 is an issue. from what I understand in my scenario it creates a first camera track with *-v0, then screen share with *-v1. But then when the camera track is removed then another one is recreated, it will also be named v1

Steps to reproduce

Environment details

lib jitsi corresponding to version jitsi meet 8252

maxired avatar Feb 16 '23 11:02 maxired

Also, this might be related to https://github.com/jitsi/lib-jitsi-meet/blob/931ca368b79004a103451dde9d6f89dbe1415e2c/modules/RTC/TraceablePeerConnection.js#L1243

maxired avatar Feb 16 '23 15:02 maxired

Ping @jallamsetty1

saghul avatar Feb 17 '23 15:02 saghul