mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: commented startRTSPCamera
This commit is contained in:
parent
d7d205a7a9
commit
809d904878
|
@ -620,6 +620,9 @@ func (r *Revid) setupInputForFile() (func() error, error) {
|
||||||
return func() error { return f.Close() }, nil
|
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) {
|
func (r *Revid) startRTSPCamera() (func() error, error) {
|
||||||
rtspClt, local, remote, err := rtsp.NewClient(r.config.RTSPURL)
|
rtspClt, local, remote, err := rtsp.NewClient(r.config.RTSPURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue