mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5621 from FintasticMan/webos_prioritise_hevc
Prioritise HEVC over H264 in HLS TS streams on webOS
This commit is contained in:
commit
7865170eb6
1 changed files with 3 additions and 3 deletions
|
@ -619,6 +619,9 @@ export default function (options) {
|
|||
&& (browser.edgeChromium || browser.safari || browser.tizen || browser.web0s || (browser.chrome && (!browser.android || browser.versionMajor >= 105)))) {
|
||||
// Chromium used to support HEVC on Android but not via MSE
|
||||
hlsInFmp4VideoCodecs.push('hevc');
|
||||
if (browser.tizen || browser.web0s) {
|
||||
hlsInTsVideoCodecs.push('hevc');
|
||||
}
|
||||
}
|
||||
|
||||
if (canPlayH264(videoTestElement)) {
|
||||
|
@ -629,9 +632,6 @@ export default function (options) {
|
|||
|
||||
if (canPlayHevc(videoTestElement, options)) {
|
||||
mp4VideoCodecs.push('hevc');
|
||||
if (browser.tizen || browser.web0s) {
|
||||
hlsInTsVideoCodecs.push('hevc');
|
||||
}
|
||||
}
|
||||
|
||||
if (supportsMpeg2Video()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue