use crypto/rand instead of math/rand to avoid port conflicts and security issues

This commit is contained in:
aler9 2021-09-23 19:38:40 +02:00
parent 21539d341c
commit 2d5e1fa823
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.16
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
github.com/aler9/gortsplib v0.0.0-20210923171601-5ef90763573a
github.com/aler9/gortsplib v0.0.0-20210923173726-0454e5407fe4
github.com/asticode/go-astits v1.9.0
github.com/fsnotify/fsnotify v1.4.9
github.com/gin-gonic/gin v1.7.2

4
go.sum
View File

@ -2,8 +2,8 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafo
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/aler9/gortsplib v0.0.0-20210923171601-5ef90763573a h1:MXtroamOaXW0EbLLlcI6AHh4M8AjW9CFkbHQcVciImI=
github.com/aler9/gortsplib v0.0.0-20210923171601-5ef90763573a/go.mod h1:WCO/ZcqI2R6m1lKV2ZENL0+AvV2NcIVEYtHtgLFjH6A=
github.com/aler9/gortsplib v0.0.0-20210923173726-0454e5407fe4 h1:der8zCJTYJvoQpmbYAIgQACcnUBmDxGE8Gi6JINRTno=
github.com/aler9/gortsplib v0.0.0-20210923173726-0454e5407fe4/go.mod h1:WCO/ZcqI2R6m1lKV2ZENL0+AvV2NcIVEYtHtgLFjH6A=
github.com/aler9/rtmp v0.0.0-20210403095203-3be4a5535927 h1:95mXJ5fUCYpBRdSOnLAQAdJHHKxxxJrVCiaqDi965YQ=
github.com/aler9/rtmp v0.0.0-20210403095203-3be4a5535927/go.mod h1:vzuE21rowz+lT1NGsWbreIvYulgBpCGnQyeTyFblUHc=
github.com/asticode/go-astikit v0.20.0 h1:+7N+J4E4lWx2QOkRdOf6DafWJMv6O4RRfgClwQokrH8=