forcepush this away if i fail
This commit is contained in:
parent
02044c60b4
commit
d1f1aae0d3
4 changed files with 277 additions and 156 deletions
|
|
@ -272,11 +272,10 @@ func main() {
|
|||
host = "127.0.0.1"
|
||||
}
|
||||
|
||||
rtspServer := rtsp.CreateServer(applicationContext, host, port, camera)
|
||||
defer rtspServer.Stop()
|
||||
rtspServer, err := rtsp.CreateServer(applicationContext, host, port, camera)
|
||||
defer rtspServer.Close()
|
||||
|
||||
log.Printf("Created RTSP Server\n")
|
||||
err := rtspServer.ListenAndServe()
|
||||
|
||||
if err != nil {
|
||||
log.Printf("ERROR starting RTSP Server: %s\n", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue