Fixes with RTPRelay and actioncam

Endless loop in RTPRelay and exiting from whole app using Ctrl+C
This commit is contained in:
fildaw 2020-01-05 15:53:45 +01:00 committed by GitHub
parent e82f5a97c9
commit 205c9896dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 61 additions and 55 deletions

View file

@ -71,6 +71,7 @@ func main() {
case sig := <-signalChannel:
log.Printf("Got signal %s, exiting...\n", sig)
cancel()
os.Exit(0)
}
}(cancel)