mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
allow separate settings for each video codec for each quality level
This commit is contained in:
parent
ca5c8313cf
commit
28f0e78eb3
2 changed files with 36 additions and 9 deletions
|
@ -192,18 +192,21 @@
|
|||
var mp4VideoUrl = ApiClient.getUrl('Videos/' + item.Id + '/stream.mp4', $.extend({}, baseParams, {
|
||||
videoCodec: 'h264',
|
||||
audioCodec: 'aac',
|
||||
profile: 'high'
|
||||
profile: 'high',
|
||||
videoBitrate: 2500000
|
||||
}));
|
||||
|
||||
var tsVideoUrl = ApiClient.getUrl('Videos/' + item.Id + '/stream.ts', $.extend({}, baseParams, {
|
||||
videoCodec: 'h264',
|
||||
audioCodec: 'aac',
|
||||
profile: 'high'
|
||||
profile: 'high',
|
||||
videoBitrate: 2500000
|
||||
}));
|
||||
|
||||
var webmVideoUrl = ApiClient.getUrl('Videos/' + item.Id + '/stream.webm', $.extend({}, baseParams, {
|
||||
videoCodec: 'vpx',
|
||||
audioCodec: 'Vorbis'
|
||||
audioCodec: 'Vorbis',
|
||||
videoBitrate: 2500000
|
||||
}));
|
||||
|
||||
var hlsVideoUrl = ApiClient.getUrl('Videos/' + item.Id + '/stream.m3u8', $.extend({}, baseParams, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue