Merge pull request #909 from ApexArray/set-maximum-bitrates

set maximum bitrates according to roku docs
This commit is contained in:
1hitsong 2022-12-31 07:57:29 -05:00 committed by GitHub
commit aed417630e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,13 @@ function getDeviceProfile() as object
"Property": "VideoLevel",
"Value": "41",
"IsRequired": false
},
' Roku only supports h264 up to 10Mpbs
{
"Condition": "LessThanEqual",
"Property": "VideoBitrate",
"Value": "10000000",
IsRequired: true
}
]
}
@ -203,6 +210,13 @@ function getDeviceProfile() as object
"Property": "VideoRangeType",
"Value": av1VideoRangeTypes,
"IsRequired": false
},
' Roku only supports AVI up to 40Mpbs
{
"Condition": "LessThanEqual",
"Property": "VideoBitrate",
"Value": "40000000",
IsRequired: true
}
]
})
@ -229,6 +243,13 @@ function getDeviceProfile() as object
"Property": "VideoLevel",
"Value": (120 * 5.1).ToStr(),
"IsRequired": false
},
' Roku only supports h265 up to 40Mpbs
{
"Condition": "LessThanEqual",
"Property": "VideoBitrate",
"Value": "40000000",
IsRequired: true
}
]
})
@ -243,6 +264,13 @@ function getDeviceProfile() as object
"Property": "VideoRangeType",
"Value": vp9VideoRangeTypes,
"IsRequired": false
},
' Roku only supports VP9 up to 40Mpbs
{
"Condition": "LessThanEqual",
"Property": "VideoBitrate",
"Value": "40000000",
IsRequired: true
}
]
})