Improve 4k resolution bitrate
This commit is contained in:
parent
77e0851758
commit
f56ebb3616
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue