fix four audit bugs - offline playback, audio passthrough, notification dedup, dashboard fixes
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user