mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
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>
This commit is contained in:
parent
1f8a8e7d4a
commit
baf1b55a0c
6 changed files with 132 additions and 24 deletions
|
@ -43,8 +43,8 @@ export function enableHlsJsPlayer(runTimeTicks, mediaType) {
|
|||
}
|
||||
|
||||
if (canPlayNativeHls()) {
|
||||
// Having trouble with chrome's native support and transcoded music
|
||||
if (browser.android && mediaType === 'Audio') {
|
||||
// Android Webview's native HLS has performance and compatiblity issues
|
||||
if (browser.android && (mediaType === 'Audio' || mediaType === 'Video')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue