protocol/rtsp/cmd/stream: using NewClient rather than NewSession

This commit is contained in:
Saxon 2019-04-26 14:35:25 +09:30
parent 14cb6f7f07
commit 4998d8d4d6
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func main() {
trackPtr := flag.String("track", "track1", "The track that we would like to receive media from.")
flag.Parse()
sess, err := rtsp.NewSession(*rtspServerPtr)
sess, err := rtsp.NewClient(*rtspServerPtr)
if err != nil {
panic(fmt.Sprintf("creating RTSP session failed with error: %v", err))
}