Merge branch 'dev' into vod

This commit is contained in:
Ingo Oppermann 2023-05-26 21:25:06 +02:00
commit 5e164d8268
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -186,7 +186,7 @@ func (h *hls) handleEgress(c echo.Context, next echo.HandlerFunc) error {
// Add the new session's top bitrate to the ingress top bitrate
resultingBitrate := currentBitrate + streamBitrate
if resultingBitrate <= 0.5 || resultingBitrate >= maxBitrate {
if resultingBitrate >= maxBitrate {
return echo.NewHTTPError(509, "Bitrate limit exceeded")
}
}