destroyRoom method
Implementation
Future<void> destroyRoom() async {
if (EnxSetting.instance.isLiveStreamingRunning) {
await EnxRtc.stopStreaming(EnxSetting.instance.liveStreamInfo);
}
await EnxRtc.destroy();
}
Future<void> destroyRoom() async {
if (EnxSetting.instance.isLiveStreamingRunning) {
await EnxRtc.stopStreaming(EnxSetting.instance.liveStreamInfo);
}
await EnxRtc.destroy();
}