mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #4916 from viktory36/dovi-on-webos-fix
Adding DOVI support on webOS
This commit is contained in:
commit
5bdb3d1ed8
2 changed files with 19 additions and 0 deletions
|
@ -81,6 +81,7 @@
|
||||||
- [ntarelix](https://github.com/ntarelix)
|
- [ntarelix](https://github.com/ntarelix)
|
||||||
- [András Maróy](https://github.com/andrasmaroy)
|
- [András Maróy](https://github.com/andrasmaroy)
|
||||||
- [Chris-Codes-It](https://github.com/Chris-Codes-It)
|
- [Chris-Codes-It](https://github.com/Chris-Codes-It)
|
||||||
|
- [Vedant](https://github.com/viktory36)
|
||||||
|
|
||||||
## Emby Contributors
|
## Emby Contributors
|
||||||
|
|
||||||
|
|
|
@ -1156,6 +1156,24 @@ export default function (options) {
|
||||||
Conditions: h264CodecProfileConditions
|
Conditions: h264CodecProfileConditions
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (browser.web0s && supportsDolbyVision(options)) {
|
||||||
|
// Disallow direct playing of DOVI media in containers not mp4.
|
||||||
|
// This paired with the "Prefer fMP4-HLS Container" client playback setting enables DOVI playback on webOS.
|
||||||
|
profile.CodecProfiles.push({
|
||||||
|
Type: 'Video',
|
||||||
|
Container: '-mp4',
|
||||||
|
Codec: 'hevc',
|
||||||
|
Conditions: [
|
||||||
|
{
|
||||||
|
Condition: 'EqualsAny',
|
||||||
|
Property: 'VideoRangeType',
|
||||||
|
Value: 'SDR|HDR10|HLG',
|
||||||
|
IsRequired: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
profile.CodecProfiles.push({
|
profile.CodecProfiles.push({
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
Codec: 'hevc',
|
Codec: 'hevc',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue