From 809d904878a3616dd0c35881881181cb0808e560 Mon Sep 17 00:00:00 2001 From: Saxon Date: Thu, 23 May 2019 14:10:02 +0930 Subject: [PATCH] revid/revid.go: commented startRTSPCamera --- revid/revid.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/revid/revid.go b/revid/revid.go index fa30d5a8..6ba89638 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -620,6 +620,9 @@ func (r *Revid) setupInputForFile() (func() error, error) { return func() error { return f.Close() }, nil } +// startRTSPCamera uses RTSP to request an RTP stream from an IP camera. An RTP +// client is created from which RTP packets containing either h264/h265 can read +// by the selected lexer. func (r *Revid) startRTSPCamera() (func() error, error) { rtspClt, local, remote, err := rtsp.NewClient(r.config.RTSPURL) if err != nil {