mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Allow Dolby Vision in TS for WebOS
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
edd32297ee
commit
0b34c1812e
1 changed files with 3 additions and 4 deletions
|
@ -1263,17 +1263,16 @@ export default function (options) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (browser.web0s && supportsDolbyVision(options)) {
|
if (browser.web0s && supportsDolbyVision(options)) {
|
||||||
// Disallow direct playing of DOVI media in containers not mp4.
|
// Disallow direct playing of DOVI media in containers not ts or mp4.
|
||||||
// This paired with the "Prefer fMP4-HLS Container" client playback setting enables DOVI playback on webOS.
|
|
||||||
profile.CodecProfiles.push({
|
profile.CodecProfiles.push({
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
Container: '-mp4',
|
Container: '-mp4,ts',
|
||||||
Codec: 'hevc',
|
Codec: 'hevc',
|
||||||
Conditions: [
|
Conditions: [
|
||||||
{
|
{
|
||||||
Condition: 'EqualsAny',
|
Condition: 'EqualsAny',
|
||||||
Property: 'VideoRangeType',
|
Property: 'VideoRangeType',
|
||||||
Value: 'SDR|HDR10|HLG',
|
Value: hevcVideoRangeTypes.split('|').filter((v) => !v.startsWith('DOVI')).join('|'),
|
||||||
IsRequired: false
|
IsRequired: false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue