Revamp the transcoding decision tree

This commit is contained in:
fijam
2020-09-25 13:23:50 +01:00
committed by Senan Kelly
parent d6875a184e
commit 74f3c5a015
2 changed files with 16 additions and 9 deletions
+1
View File
@@ -168,6 +168,7 @@ func (c *Controller) ServeStream(w http.ResponseWriter, r *http.Request) *spec.R
}
encodeOptions := encode.Options{
TrackPath: trackPath,
TrackBitrate: track.Bitrate,
CachePath: c.CachePath,
ProfileName: pref.Profile,
PreferredBitrate: params.GetOrInt("maxBitRate", 0),