Browse Source

Reduce warnings

Send packet errors are usually related to user disconnections.
pull/152/head
Mauro 4 years ago committed by GitHub
parent
commit
e04f6fbd6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      protocol/httpflv/writer.go

2
protocol/httpflv/writer.go

@ -54,7 +54,7 @@ func NewFLVWriter(app, title, url string, ctx http.ResponseWriter) *FLVWriter { @@ -54,7 +54,7 @@ func NewFLVWriter(app, title, url string, ctx http.ResponseWriter) *FLVWriter {
go func() {
err := ret.SendPacket()
if err != nil {
log.Error("SendPacket error: ", err)
log.Debug("SendPacket error: ", err)
ret.closed = true
}

Loading…
Cancel
Save