diff --git a/gumble/gumble/udp15.go b/gumble/gumble/udp15.go index 4dda8eb..6919f35 100644 --- a/gumble/gumble/udp15.go +++ b/gumble/gumble/udp15.go @@ -545,7 +545,7 @@ func (c *Client) HandleUDPPacket15(packet []byte, pktNum uint64) { return } - log.Debug("UDP15 #%d: decrypt OK, plaintext_len=%d", pktNum, len(plaintext)) + log.Info("UDP15 #%d: decrypt OK, plaintext_len=%d", pktNum, len(plaintext)) // Check type byte (0x00 = Audio, 0x01 = Ping) if len(plaintext) < 1 { @@ -556,11 +556,11 @@ func (c *Client) HandleUDPPacket15(packet []byte, pktNum uint64) { if msgType == 0x01 { // Ping response — just a timestamp, no action needed. - log.Debug("UDP15 #%d: ping response", pktNum) + log.Info("UDP15 #%d: ping response, ignoring", pktNum) return } if msgType != 0x00 { - log.Debug("UDP15 #%d: unknown message type 0x%02x", pktNum, msgType) + log.Warn("UDP15 #%d: unknown message type 0x%02x", pktNum, msgType) return } @@ -568,6 +568,7 @@ func (c *Client) HandleUDPPacket15(packet []byte, pktNum uint64) { session, frameNum, opusData, terminator := decodeUDPAudio(plaintext) if len(opusData) == 0 && !terminator { + log.Info("UDP15 #%d: no opus data (session=%d frame=%d), skipping", pktNum, session, frameNum) return }