I am trying to remove the desktop track for all participants who joined the meeting but when I try to dispose of the track than not called the TRACK_REMOVED event listener.
If have some ideas please reply.
room.on(JitsiMeetJS.events.conference.TRACK_REMOVED, (track) => {
console.log("TRACK_REMOVED", track)
})
oldTrack.dispose();
My expectation is when I dispose of the track that time TRACK_REMOVED called for every participant's side also.