Future<void> publishVideo(bool enable) { if (_localConnection == null) { throw "Please call startLocalPreview first"; } return _localConnection!.publishVideo(enable); }