checkRemoteRedundancyConfig()
checkStorageConfig()
checkTranscodingConfig()
+ checkImportConfig()
checkBroadcastMessageConfig()
checkSearchConfig()
checkLiveConfig()
}
}
+function checkImportConfig () {
+ if (CONFIG.IMPORT.VIDEO_CHANNEL_SYNCHRONIZATION.ENABLED && !CONFIG.IMPORT.VIDEOS.HTTP) {
+ throw new Error('You need to enable HTTP import to allow synchronization')
+ }
+}
+
function checkBroadcastMessageConfig () {
if (CONFIG.BROADCAST_MESSAGE.ENABLED) {
const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL