Skip to content

Commit

Permalink
force a full transcode for AV1 instead of direct streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Nov 12, 2024
1 parent f00038a commit a79c259
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions source/utils/deviceCapabilities.bs
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,9 @@ function getTranscodingProfiles() as object
end if

' AV1
' CanDecodeVideo() returns false for AV1 when the container is provided
' Manually add AV1 to the mp4VideoCodecs list if support is detected
if di.CanDecodeVideo({ Codec: "av1" }).Result
mp4VideoCodecs = mp4VideoCodecs + ",av1"
end if
' direct streaming av1 is not supported on roku
' force a full transcode by omitting av1 from the transcoding profile
' https://community.roku.com/t5/Roku-Developer-Program/HLS-fMP4-No-Audio/td-p/607399

' AUDIO CODECS
for each container in transcodingContainers
Expand Down

0 comments on commit a79c259

Please sign in to comment.