fix empty transcode segments, widen device profile

This commit is contained in:
2026-05-25 10:06:35 +03:00
parent e681bed1a4
commit 4d20cf9d43
2 changed files with 24 additions and 4 deletions
+4 -2
View File
@@ -88,11 +88,13 @@ export function browserDeviceProfile(audioPassthrough = false) {
DirectPlayProfiles: [
{
Container: 'mp4,m4v',
// MSE / hls.js can remux these on the fly - no need to force a
// server-side transcode just because the container isn't mp4.
Container: 'mp4,m4v,mkv,avi,mov,wmv,ts,mpeg,mpegts',
Type: 'Video',
VideoCodec: videoCodecsCsv,
AudioCodec: audioPassthrough
? 'aac,mp3,ac3,eac3,flac,opus,truehd,dts'
? 'aac,mp3,ac3,eac3,flac,opus,truehd,dts,alac,wmapro'
: 'aac,mp3,ac3,eac3,flac,opus',
},
{