When are the audio and video channels assigned to each participant?

In the front-end with React, at what point does that happen? How is it?

It’s somewhat involved. You can start by looking at RemoteVideo.js

1 Like

In this file, the containers are created for each participant with its own identifier, it updates the icons and similar functions. I can’t identify where he receives what I mentioned. :confused:

addRemoteStreamElement is where the stream is attached to that view. You can work backwards to see how we end up there from the lib-jitsi-meet generated events.

1 Like

It is perfect! And in that same method, is the audio channel shared?

Shared you mean, with others? The tracks are added to the conference upon creation: https://github.com/jitsi/jitsi-meet/blob/69b7301b9d5d33c259ea032f5e3a79c937ebc8cf/conference.js#L693

1 Like

Does that mean that the audio channel is here? https://github.com/jitsi/jitsi-meet/blob/69b7301b9d5d33c259ea032f5e3a79c937ebc8cf/conference.js#L693

Yes, the audio track is created early and then passed to the room.

1 Like

Thank you so much!