From 4699ee9c189b48c0c8cb8ff4b9a43f33924d0892 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Thu, 21 Nov 2024 21:59:59 +0100 Subject: [PATCH] fix: updated device profile --- utils/profiles/native.js | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/utils/profiles/native.js b/utils/profiles/native.js index 242eab06..37f6773b 100644 --- a/utils/profiles/native.js +++ b/utils/profiles/native.js @@ -10,9 +10,8 @@ import MediaTypes from "../../constants/MediaTypes"; */ export default { Name: "1. Vlc Player", - MaxStaticBitrate: 100000000, - MaxStreamingBitrate: 120000000, - MusicStreamingTranscodingBitrate: 384000, + MaxStaticBitrate: 20_000_000, + MaxStreamingBitrate: 12_000_000, CodecProfiles: [ { Type: MediaTypes.Video, @@ -26,14 +25,16 @@ export default { DirectPlayProfiles: [ { Type: MediaTypes.Video, - Container: "mp4,mkv,avi,mov,flv,ts,m2ts,webm,ogv,3gp", - VideoCodec: "h264,h265,hevc,mpeg4,divx,xvid,wmv,vc1,vp8,vp9,av1", + Container: "mp4,mkv,avi,mov,flv,ts,m2ts,webm,ogv,3gp,hls", + VideoCodec: + "h264,hevc,mpeg4,divx,xvid,wmv,vc1,vp8,vp9,av1,avi,mpeg,mpeg2video", AudioCodec: "aac,ac3,eac3,mp3,flac,alac,opus,vorbis,wma", }, { Type: MediaTypes.Audio, Container: "mp3,aac,flac,alac,wav,ogg,wma", - AudioCodec: "mp3,aac,flac,alac,opus,vorbis,wma,pcm", + AudioCodec: + "mp3,aac,flac,alac,opus,vorbis,wma,pcm,mpa,wav,ogg,oga,webma,ape", }, ], TranscodingProfiles: [ @@ -56,18 +57,6 @@ export default { MaxAudioChannels: "2", }, ], - ResponseProfiles: [ - { - Container: "mkv", - MimeType: "video/x-matroska", - Type: MediaTypes.Video, - }, - { - Container: "mp4", - MimeType: "video/mp4", - Type: MediaTypes.Video, - }, - ], SubtitleProfiles: [ { Format: "ass", Method: "Embed" }, { Format: "ass", Method: "Hls" },