MenuMenu

RTCMultiConnection.resetTrack

Use this method after using replaceTrack

How to use

// show original tracks for all users
connection.resetTrack();

// show original tracks for single user
connection.resetTrack('remote-userid-id');

// force to reset only video tracks
connection.resetTrack(null, true);

There is a relevant API: replaceTrack