Stick to the documented default bitrate of 1200 in case of config parsing issues (#350)
This commit is contained in:
parent
21df28160a
commit
00129c5942
@ -96,7 +96,6 @@ func (t *Transcoder) Start() {
|
|||||||
if t.TranscoderCompleted != nil {
|
if t.TranscoderCompleted != nil {
|
||||||
t.TranscoderCompleted(err)
|
t.TranscoderCompleted(err)
|
||||||
}
|
}
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *Transcoder) getString() string {
|
func (t *Transcoder) getString() string {
|
||||||
@ -175,7 +174,7 @@ func getVariantFromConfigQuality(quality config.StreamQuality, index int) HLSVar
|
|||||||
}
|
}
|
||||||
|
|
||||||
if quality.VideoBitrate == 0 {
|
if quality.VideoBitrate == 0 {
|
||||||
quality.VideoBitrate = 1000
|
quality.VideoBitrate = 1200
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the video is being passed through then
|
// If the video is being passed through then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user