revid/revid.go: further split up miscy consts

This commit is contained in:
saxon 2019-01-16 17:46:17 +10:30
parent e184b091d3
commit 59024fea79
1 changed files with 12 additions and 8 deletions

View File

@ -62,14 +62,18 @@ const (
rtmpConnectionTimeout = 10 rtmpConnectionTimeout = 10
) )
// Misc Constants // Duration of video for each clip sent out.
const ( const clipDuration = 1 * time.Second
clipDuration = 1 * time.Second // Duration of video for each clip sent out.
bitrateTime = 1 * time.Minute // Time duration between bitrate checks. // Time duration between bitrate checks.
sendFailedDelay = 5 * time.Millisecond // After a send fail, this is the delay before another send. const bitrateTime = 1 * time.Minute
ffmpegPath = "/usr/local/bin/ffmpeg"
pkg = "revid:" // After a send fail, this is the delay before another send.
) const sendFailedDelay = 5 * time.Millisecond
const ffmpegPath = "/usr/local/bin/ffmpeg"
const pkg = "revid:"
// Log Types // Log Types
const ( const (