Improve 4k resolution bitrate

This commit is contained in:
Chocobozzz 2019-12-05 15:12:58 +01:00
parent 77e0851758
commit f56ebb3616
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -46,12 +46,12 @@ function getBaseBitrate (resolution: VideoResolution) {
case VideoResolution.H_1080P: case VideoResolution.H_1080P:
// quality according to Google Live Encoder: 3000 - 6000 Kbps // quality according to Google Live Encoder: 3000 - 6000 Kbps
// Quality according to YouTube Video Info: 5081 Kbps // Quality according to YouTube Video Info: 5081 Kbps
return 5800 * 1000 return 5200 * 1000
case VideoResolution.H_4K: // fallthrough case VideoResolution.H_4K: // fallthrough
default: default:
// quality according to Google Live Encoder: 13000 - 34000 Kbps // quality according to Google Live Encoder: 13000 - 34000 Kbps
return 15000 * 1000 return 22000 * 1000
} }
} }