4K support for AV1
This commit is contained in:
1 parent
35b38c7cd8
commit
ef83b598eb
8 files changed
+118
-23
No files matched your search
@@ -0,0 +1,10 @@
|
||||
namespace CodecCapabilities
|
||||
' YouTube serves streams above 1080p only as AV1 (mp4) and VP9 (webm), and the
|
||||
' player only plays fragmented MP4 in DASH - so AV1 decoding is what decides
|
||||
' whether the device can play 4K.
|
||||
function CanDecodeAv1() as boolean
|
||||
devInfo = CreateObject("roDeviceInfo")
|
||||
canDecode = devInfo.CanDecodeVideo({ "codec": "av1" })
|
||||
return canDecode.result = true
|
||||
end function
|
||||
end namespace
|
||||
Reference in new issue
Block a user