commented logs
This commit is contained in:
parent
bfdca3ffcb
commit
71d0bc1018
@ -1,7 +1,5 @@
|
|||||||
package n9m
|
package n9m
|
||||||
|
|
||||||
import "log"
|
|
||||||
|
|
||||||
// request reqistration parameters (directly to register)
|
// request reqistration parameters (directly to register)
|
||||||
func (e *Package) RequestParameters(params map[string]any, serial int, session string) {
|
func (e *Package) RequestParameters(params map[string]any, serial int, session string) {
|
||||||
e.Payload = map[string]any{
|
e.Payload = map[string]any{
|
||||||
@ -26,7 +24,7 @@ func (e *Package) SetParameters(params map[string]any, serial int, session strin
|
|||||||
},
|
},
|
||||||
"SESSION": session,
|
"SESSION": session,
|
||||||
}
|
}
|
||||||
log.Println(e.Payload)
|
// log.Println(e.Payload)
|
||||||
} // end of 'SetParameters' function
|
} // end of 'SetParameters' function
|
||||||
|
|
||||||
// todo al1
|
// todo al1
|
||||||
|
2
io.go
2
io.go
@ -59,7 +59,7 @@ func (e *Package) ReadPackage() bool {
|
|||||||
e.PayloadType = r.TryReadBits(8)
|
e.PayloadType = r.TryReadBits(8)
|
||||||
e.SSRC = r.TryReadBits(16)
|
e.SSRC = r.TryReadBits(16)
|
||||||
|
|
||||||
log.Println(e.PayloadType)
|
// log.Println(e.PayloadType)
|
||||||
|
|
||||||
is_special := e.Encription == 1 && e.Mark == 1
|
is_special := e.Encription == 1 && e.Mark == 1
|
||||||
if is_special {
|
if is_special {
|
||||||
|
Loading…
Reference in New Issue
Block a user