dispose method
Implementation
Future<void> dispose() async {
await stopAllTracksAndDispose(mediaStream);
videoRenderer.srcObject = null;
await videoRenderer.dispose();
}
Future<void> dispose() async {
await stopAllTracksAndDispose(mediaStream);
videoRenderer.srcObject = null;
await videoRenderer.dispose();
}