1
0
Fork 0
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:
Techywarrior 2013-05-06 20:31:44 -07:00
parent ca5c8313cf
commit 28f0e78eb3
2 changed files with 36 additions and 9 deletions

View file

@ -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, {