Use detected bitrate when logging

This commit is contained in:
Serge Tkatchouk
2020-03-02 19:59:28 +08:00
committed by sentriz
parent c9eb142c61
commit ed610d36f6

View File

@@ -123,7 +123,7 @@ func (c *Controller) ServeStream(w http.ResponseWriter, r *http.Request) *spec.R
log.Printf("error encoding %q: %v\n", absPath, err)
}
log.Printf("track `%s` encoded to [%s/%s] successfully\n",
track.Filename, profile.Format, profile.Bitrate)
track.Filename, profile.Format, bitrate)
return nil
}