Revamp the transcoding decision tree

This commit is contained in:
fijam
2020-09-20 10:49:16 +02:00
committed by Senan Kelly
parent d6875a184e
commit 74f3c5a015
2 changed files with 16 additions and 9 deletions

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),