api/service-config: replace static arrays with sets

This commit is contained in:
wukko
2025-06-25 19:33:16 +06:00
parent fcdf5da73e
commit 52695cbd0f
3 changed files with 4 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ const remux = async (streamInfo, res) => {
args.push('-movflags', 'faststart+frag_keyframe+empty_moov');
}
if (streamInfo.type !== 'mute' && streamInfo.isHLS && hlsExceptions.includes(streamInfo.service)) {
if (streamInfo.type !== 'mute' && streamInfo.isHLS && hlsExceptions.has(streamInfo.service)) {
if (streamInfo.service === 'youtube' && format === 'webm') {
args.push('-c:a', 'libopus');
} else {