fix four audit bugs - offline playback, audio passthrough, notification dedup, dashboard fixes

This commit is contained in:
2026-04-06 04:33:21 +03:00
parent 0af7ba64cb
commit 1a84b348ad
5 changed files with 19 additions and 40 deletions
+4 -2
View File
@@ -75,7 +75,7 @@ function supportedVideoRanges(): string {
return ranges.join('|')
}
export function browserDeviceProfile() {
export function browserDeviceProfile(audioPassthrough = false) {
const videoCodecs = supportedVideoCodecs()
const videoCodecsCsv = videoCodecs.join(',')
const videoRanges = supportedVideoRanges()
@@ -91,7 +91,9 @@ export function browserDeviceProfile() {
Container: 'mp4,m4v',
Type: 'Video',
VideoCodec: videoCodecsCsv,
AudioCodec: 'aac,mp3,ac3,eac3,flac,opus',
AudioCodec: audioPassthrough
? 'aac,mp3,ac3,eac3,flac,opus,truehd,dts'
: 'aac,mp3,ac3,eac3,flac,opus',
},
{
Container: 'webm',