Fix typo in config logging
This commit is contained in:
parent
fa8b577989
commit
a69606e9aa
@ -137,7 +137,8 @@ func (c *Config) DebugLog(logger *zap.SugaredLogger) {
|
||||
logger.Debugw("Config",
|
||||
"hostname", c.Hostname,
|
||||
"rtmp_addr", c.RTMPListenAddr,
|
||||
"http_enable", c.HTTPListenAddr,
|
||||
"http_enable", c.HTTPServerEnable,
|
||||
"http_addr", c.HTTPListenAddr,
|
||||
"http_accesslog", c.HTTPAccessLogEnable,
|
||||
"log_level", c.LogLevel)
|
||||
}
|
||||
|
@ -160,6 +160,7 @@ func (s *Stream) handleBroadcaster(c *rtmp.Conn, nc net.Conn) {
|
||||
s.bytesSent.Add(uint64(len(pkt.Data)))
|
||||
continue
|
||||
default:
|
||||
// TODO: Should we stop trying to send packets until buffer is emptyish?
|
||||
dropped := client.droppedPackets.Inc()
|
||||
if dropped%1000 == 0 {
|
||||
logger.Info("Multiple packets to client have been dropped.",
|
||||
|
@ -2,7 +2,7 @@ package dogtamer
|
||||
|
||||
import "fmt"
|
||||
|
||||
const Version string = "v0.1.5"
|
||||
const Version string = "v0.1.6"
|
||||
|
||||
var Build string
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user