...
Code Block | ||||
---|---|---|---|---|
| ||||
}).on(constants.SFU_ROOM_EVENT.LEFT, function(e) { console.log("Received LEFT"); let participant = remoteParticipants[e.name]; if (!participant) { return; } participant.displays.forEach(function(display){ display.dispose(); }) delete remoteParticipants[e.name]; }); |
2.4.
...
TRACK_QUALITY_STATE
initRemoteDisplay() code
Здесь:
...