freeTracks method
Disposes the renderers and frees the LocalMediaTracks being used.
Implementation
void freeTracks() {
for (RtcVideoRenderer t in renderers.values) {
t.dispose();
}
renderers.clear();
for (LocalMediaTrack t in _localTracks) {
t.free();
}
_localTracks.clear();
}