disposeVideo method

void disposeVideo()

Disposes the already ended session so that the hardware resources can be freed.

Invoke it after endSession if needed.

This method is only for Android. On iOS will do nothing.

Implementation

void disposeVideo() async {
  await _openTokFlutter?.onStop();
}