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