Browse Source

Update rtmp.go

fix log
pull/58/head
Ray 6 years ago committed by GitHub
parent
commit
1d7cf10ee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      protocol/rtmp/rtmp.go

2
protocol/rtmp/rtmp.go

@ -113,7 +113,7 @@ func (s *Server) handleConn(conn *core.Conn) error { @@ -113,7 +113,7 @@ func (s *Server) handleConn(conn *core.Conn) error {
appname, _, _ := connServer.GetInfo()
if ret := configure.CheckAppName(appname); !ret {
err := errors.New("application name=%s is not configured")
err := errors.New(fmt.Sprintf("application name=%s is not configured", appname))
conn.Close()
log.Println("CheckAppName err:", err)
return err

Loading…
Cancel
Save