revid/revid.go: commented startRTSPCamera

This commit is contained in:
Saxon 2019-05-23 14:10:02 +09:30
parent d7d205a7a9
commit 809d904878
1 changed files with 3 additions and 0 deletions

View File

@ -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 {