feat: Add client-side voice processing and comprehensive packet handling, leveraging a Go-native Opus library.
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func (c *Client) handlePacket(pkt *protocol.Packet) error {
|
||||
log.Printf("Received Packet: ID=%d, Type=%v, Len=%d", pkt.Header.PacketID, pkt.Header.PacketType(), len(pkt.Data))
|
||||
// log.Printf("Received Packet: ID=%d, Type=%v, Len=%d", pkt.Header.PacketID, pkt.Header.PacketType(), len(pkt.Data))
|
||||
|
||||
switch pkt.Header.PacketType() {
|
||||
case protocol.PacketTypeInit1:
|
||||
|
||||
Reference in New Issue
Block a user