release method
销毁 NERtc实例,释放资源
Implementation
Future<int> release() async {
this._channelEventHandler.setCallback(null);
this.clearStatsEventCallback();
IntValue reply = await _api.release();
this._deviceManager.clearEventCallback();
this._audioEffectManager.clearEventCallback();
this._audioMixingManager.clearEventCallback();
return reply.value ?? -1;
}