unMuteAllVideo2Server method

void unMuteAllVideo2Server()

Implementation

void unMuteAllVideo2Server() {
  trackPeriodicEvent(TrackEventName.unMuteAllVideo,
      extra: {'meeting_id': roomId});
  lifecycleExecute(rtcController.unmuteAllParticipantsVideo()).then((result) {
    if (!mounted || result == null) return;
    if (result.isSuccess()) {
      ToastUtils.showToast(context, Strings.unMuteAllVideoSuccess);
    } else {
      ToastUtils.showToast(context, result.msg ?? Strings.unMuteAllVideoFail);
    }
  });
}