From be3122caac4943672e625e61cac42a9646e10da4 Mon Sep 17 00:00:00 2001 From: jakequade Date: Tue, 17 Dec 2024 20:41:07 +1100 Subject: [PATCH] add in proper codecs for chromecast --- utils/profiles/chromecast.ts | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/utils/profiles/chromecast.ts b/utils/profiles/chromecast.ts index 9c13dcaa..83bb6eb2 100644 --- a/utils/profiles/chromecast.ts +++ b/utils/profiles/chromecast.ts @@ -41,21 +41,39 @@ export const chromecastProfile: DeviceProfile = { ], TranscodingProfiles: [ { - Type: "Video", - Context: "Streaming", - Protocol: "hls", Container: "ts", - VideoCodec: "h264, hevc", - AudioCodec: "aac,mp3,ac3", - CopyTimestamps: false, - EnableSubtitlesInManifest: true, + Type: "Video", + VideoCodec: "h264", + AudioCodec: "aac,mp3", + Protocol: "hls", + Context: "Streaming", + MaxAudioChannels: "2", + MinSegments: 2, + BreakOnNonKeyFrames: true, }, { - Type: "Audio", - Context: "Streaming", + Container: "mp4", + Type: "Video", + VideoCodec: "h264", + AudioCodec: "aac", Protocol: "http", + Context: "Streaming", + MaxAudioChannels: "2", + }, + { Container: "mp3", + Type: "Audio", AudioCodec: "mp3", + Protocol: "http", + Context: "Streaming", + MaxAudioChannels: "2", + }, + { + Container: "aac", + Type: "Audio", + AudioCodec: "aac", + Protocol: "http", + Context: "Streaming", MaxAudioChannels: "2", }, ],