Commit Graph

149 Commits

Author SHA1 Message Date
gnattu f8b5c36fef chore: reuse enableFmp4Hls for video and audio 2024-04-09 10:40:17 +08:00
gnattu 4b054caebd chore: remove leftover comment 2024-04-08 14:03:02 +08:00
gnattu be3b321ffb fix: use correct hls containers for audio
The current container setting was set 4 years ago and does not reflect current browsers. We should prioritize using fmp4 when possible and fallback to mpegts if necessary.
2024-04-08 13:49:45 +08:00
Bond_009 0a932ee756 Limit Video Level to 4.2 in fMP4 for iOS < 13 2024-03-31 23:34:05 -04:00
George Haidos e49c66f250 Readability fixes 2024-03-24 16:35:15 +02:00
George Haidos d094d0cbb7 Styling fixes 2024-03-24 16:35:15 +02:00
George Haidos 59cae8ce2f Fix annotations 2024-03-24 16:35:15 +02:00
George Haidos e4fdd3ee94 Update browserDeviceProfile with the new Dolby Vision types 2024-03-24 16:35:15 +02:00
George Haidos 49552d0c9d Report DOVIWith{HDR10,HLG} only if dvh1 is supported as the codec tag 2024-03-24 16:35:15 +02:00
George Haidos ea63120bff Styling fixes 2024-03-24 16:35:15 +02:00
George Haidos b4f912be46 Add DoVi fallback types as per pull #10469 on main repo 2024-03-24 16:35:15 +02:00
Bill Thornton 56b9096db7 Merge pull request #5289 from nyanmisaka/enable-fmp4-hls-by-default 2024-03-22 19:03:57 -04:00
nyanmisaka 6875f28c36 Increase the minimum version of Tizen that supports native fMP4 to 5
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-19 17:43:29 +08:00
viktory36 d5c940dc84 For webOS, block DOVI on non mp4 containers 2024-03-15 04:11:39 +03:00
Nyanmisaka 4a7fc0662a Merge branch 'master' into relax-hevc-safari 2024-03-07 16:13:44 +08:00
András Maróy 1d38aa1208 Lower web0s version needed for audiotracks support 2024-03-05 16:38:18 +03:00
nyanmisaka c469211e53 Only enable webm for Safari 15 and 16
webm container is currently broken on Safari 17.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-29 01:38:11 +08:00
nyanmisaka 076a5b4e2c Enable AV1 remuxing via HLS fMP4 on Safari
AV1 should be supported by Apple devices that support hardware
acceleration. Software decoding is not yet supported on Safari.

See also https://bitmovin.com/apple-av1-support

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-29 01:38:11 +08:00
Nyanmisaka 8a52518c79 Merge branch 'master' into relax-hevc-safari 2024-02-07 22:30:52 +08:00
nyanmisaka 113c59fbdc Add stricter checks for DolbyVision in HEVC
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-07 08:41:18 -05:00
nyanmisaka c7f925a9c6 Enable client side tone-mapping on EdgeChromium 121+
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-06 01:07:47 +08:00
nyanmisaka c56ba882a6 Relax HEVC on Safari for hvc1/dvh1 direct-play
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-06 01:06:34 +08:00
nyanmisaka ecd63ac635 Fix a typo in Chrome version check
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-12-27 20:12:18 +08:00
Álvaro Fernández Rojas f04d7e6af0 Enable DTS on webOS 23
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-12-13 19:07:13 +01:00
Bill Thornton 6498758b62 Merge pull request #4938 from rafma0/fix-tizen-flac
Remove FLAC Audio in Video Support for Tizen
2023-11-09 01:18:16 -05:00
Dennis de Lange a4d3ba5d67 fix: Remove h264-10bit support from Tizen
(cherry picked from commit 0ad87f3b87026ad46421e01103a6f7c005911713)
2023-11-07 11:14:48 +03:00
rafma0 0cef9ff690 add comment about the change 2023-11-05 22:41:36 -03:00
rafma0 436847b901 remove video audio flac on tizen 2023-11-03 21:07:37 -03:00
Ranbeer e6828eeee8 remove linter errors 2023-10-14 20:35:55 +05:30
Dmitry Lyzo 491055a5ba refactor: Split and extract video range support detection 2023-09-26 23:32:42 +03:00
Dmitry Lyzo 171c381768 Add HLS direct play profile 2023-09-14 00:27:55 +03:00
nyanmisaka baf1b55a0c Add fMP4 playback support (HEVC, AV1) in HLS.js
Tested codecs:
video: h264, hevc, av1 (av1 in firefox require 1.5.0)
audio: mp3, aac, ac3, eac3 (flac and opus require 1.5.0)

Tested browsers:
Chrome, Firefox, Edge Chromium, Safari and their mobile versions

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-09-01 22:43:02 +08:00
Bill Thornton f35a8151e0 Add prefer optional chaining rule 2023-07-06 13:39:48 -04:00
Dmitry Lyzo 942926058b Backport pull request #4688 from jellyfin/release-10.8.z
Disable ALAC on MacOS in non-Safari browsers

Original-merge: 6304e27940e59d41ba9de41f9f0d5da7392cffbb

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-07-02 02:12:45 -04:00
nyanmisaka eb15f97955 Drop progressive transcoding in web client
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-04-25 01:03:44 -04:00
Bill Thornton f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
Bill Thornton 6f3aa2f1df Fix eslint issues 2023-03-29 00:38:22 -04:00
Dmitry Lyzo 7c9464d0c3 Backport pull request #4267 from jellyfin/release-10.8.z
Fix AudioContext limit exceeded

Original-merge: ea79d2651aa8237a433086284940059c3bf30b92

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:08:03 -05:00
Dmitry Lyzo abed235b50 Backport pull request #4263 from jellyfin/release-10.8.z
Fix change audio track

Original-merge: 9139153d16e39c40d068435fe642925a2d7a66a3

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:08:02 -05:00
Dmitry Lyzo 7f30d82d17 Backport pull request #4240 from jellyfin/release-10.8.z
Fix detection of SecondaryAudio support

Original-merge: 96234eafb7fa3c4fce70c1777bba79d895e3b8f7

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:07:07 -05:00
nyanmisaka 813845d54b Backport pull request #4182 from jellyfin/release-10.8.z
Fix the progressive mp4 transcoding profile

Original-merge: 5bfffd6209ca4d6c5fe957253d6d7a5117f333ee

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:07:07 -05:00
Bill Thornton e0013915fd Enable eslint sonar prefer-object-literal 2022-10-12 14:44:10 -04:00
Bill Thornton b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton 554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Bill Thornton 1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
lomion0815 d10d6f0e0b Some users encounter mp2 audio not decoded on android devices (see https://github.com/jellyfin/jellyfin-android/issues/764).
This fix sets mp2 support on android devices to unsupported and therefor forces transcoding of audio in such cases (usually DVB recordings).
2022-08-27 08:22:59 +02:00
Joshua M. Boniface e455c70e36 Merge pull request #3722 from nyanmisaka/fix-audio-ch
(cherry picked from commit 0e0dd46c1b19b43c2ff8b703fe9be6fb4769b5ae)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
2022-06-29 01:05:08 -04:00
Bill Thornton b632824314 Merge pull request #3713 from nyanmisaka/video-range-condition
Add VideoRangeType condition for web client

(cherry picked from commit c8590d37ed4e1a16857940420798bbd55be72a9a)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
2022-06-29 00:52:00 -04:00
Ryan Hartzell f58d7b0beb small fixes to cleanup no-nested-ternary 2022-05-16 12:23:22 -07:00
Ryan Hartzell d895a4fc6a add eslint no-nested-ternary rule and fix violations 2022-04-27 16:06:24 -07:00