disposeRenderInternal method
Implementation
@protected
Future<void> disposeRenderInternal() async {
if (shouldUseFlutterTexture) {
await rtcEngine.globalVideoViewController
?.destroyTextureRender(getTextureId());
_textureId = kTextureNotInit;
return;
}
await rtcEngine.globalVideoViewController
?.setupVideoView(kNullViewHandle, canvas, connection: connection);
}