diff --git a/revid/config.go b/revid/config.go index eccbf29a..e87eb53d 100644 --- a/revid/config.go +++ b/revid/config.go @@ -186,6 +186,7 @@ func (c *Config) Validate(r *Revid) error { switch c.Output { case File: case Rtp: + case Udp: case Rtmp, FfmpegRtmp: if c.RtmpUrl == "" { c.Logger.Log(smartlogger.Info, pkg+"no RTMP URL: falling back to HTTP") diff --git a/revid/revid.go b/revid/revid.go index 8e76c009..7cc1a0d5 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -228,7 +228,7 @@ func (r *Revid) reset(config Config) error { r.destination = s case Http: r.destination = newHttpSender(r.ns, r.config.Logger.Log) - case Rtp: + case Rtp, Udp: s, err := newUdpSender(r.config.RtpAddress, r.config.Logger.Log) if err != nil { return err