service live configslop

This commit is contained in:
legop3
2026-09-14 17:56:53 -04:00
parent 881583ee0a
commit 91e0cc3886
69 changed files with 1188 additions and 619 deletions
@@ -16,11 +16,8 @@ const {
shouldUseSnapshotsForExternalSpectatorVideo,
} = require('../../helpers/bandwidthSavings');
const config = loadConfig();
const mediaConfig = config.media || {};
function getMediaPrefix() {
const base = mediaConfig.whepBaseUrl;
const base = loadConfig().media?.whepBaseUrl;
if (!base) {
return '';
}