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
)
// Misc Constants
const (
clipDuration = 1 * time.Second // Duration of video for each clip sent out.
bitrateTime = 1 * time.Minute // Time duration between bitrate checks.
sendFailedDelay = 5 * time.Millisecond // After a send fail, this is the delay before another send.
ffmpegPath = "/usr/local/bin/ffmpeg"
pkg = "revid:"
)
// Duration of video for each clip sent out.
const clipDuration = 1 * time.Second
// Time duration between bitrate checks.
const bitrateTime = 1 * time.Minute
// 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
const (