Restore IPv6 support for API and RTSP #532

This commit is contained in:
Alexey Khit
2023-07-20 21:51:55 +03:00
parent 6c0918662e
commit 189f142fae
6 changed files with 18 additions and 15 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
package srtp
import (
"net"
"github.com/AlexxIT/go2rtc/internal/app"
"github.com/AlexxIT/go2rtc/pkg/srtp"
"net"
)
func Init() {
@@ -14,7 +15,7 @@ func Init() {
}
// default config
cfg.Mod.Listen = ":8443"
cfg.Mod.Listen = "0.0.0.0:8443"
// load config from YAML
app.LoadConfig(&cfg)