diff --git a/configmodel.go b/configmodel.go index e1fcf8b..d6d4348 100644 --- a/configmodel.go +++ b/configmodel.go @@ -1,7 +1,5 @@ package n9m -import "log" - // request reqistration parameters (directly to register) func (e *Package) RequestParameters(params map[string]any, serial int, session string) { e.Payload = map[string]any{ @@ -26,7 +24,7 @@ func (e *Package) SetParameters(params map[string]any, serial int, session strin }, "SESSION": session, } - log.Println(e.Payload) + // log.Println(e.Payload) } // end of 'SetParameters' function // todo al1 diff --git a/io.go b/io.go index bc20a2b..ceaecc4 100644 --- a/io.go +++ b/io.go @@ -59,7 +59,7 @@ func (e *Package) ReadPackage() bool { e.PayloadType = r.TryReadBits(8) e.SSRC = r.TryReadBits(16) - log.Println(e.PayloadType) + // log.Println(e.PayloadType) is_special := e.Encription == 1 && e.Mark == 1 if is_special {