diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.go index a5eb68cb6..1b9275150 100644 --- a/core/rtmp/rtmp.go +++ b/core/rtmp/rtmp.go @@ -40,7 +40,7 @@ func Start(setStreamAsConnected func(), setBroadcaster func(models.Broadcaster)) var lis net.Listener var err error if lis, err = net.Listen("tcp", fmt.Sprintf(":%d", port)); err != nil { - return + log.Fatal(err) } s.LogEvent = func(c *rtmp.Conn, nc net.Conn, e int) {