Stick to the documented default bitrate of 1200 in case of config parsing issues (#350)

This commit is contained in:
Christian Muehlhaeuser 2020-11-12 23:23:52 +01:00 committed by GitHub
parent 21df28160a
commit 00129c5942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,6 @@ func (t *Transcoder) Start() {
if t.TranscoderCompleted != nil {
t.TranscoderCompleted(err)
}
return
}
func (t *Transcoder) getString() string {
@ -175,7 +174,7 @@ func getVariantFromConfigQuality(quality config.StreamQuality, index int) HLSVar
}
if quality.VideoBitrate == 0 {
quality.VideoBitrate = 1000
quality.VideoBitrate = 1200
}
// If the video is being passed through then