+ isSaveReplayEnabled () {
+ return this.serverConfig.live.allowReplay
+ }
+
+ isPermanentLiveEnabled () {
+ return this.form.value['permanentLive'] === true
+ }
+
+ isPluginFieldHidden (pluginField: PluginField) {
+ if (typeof pluginField.commonOptions.hidden !== 'function') return false
+
+ return pluginField.commonOptions.hidden({
+ formValues: this.form.value,
+ videoToUpdate: this.videoToUpdate,
+ liveVideo: this.liveVideo
+ })
+ }
+