@ -112,6 +112,7 @@ class A2SStreamAsync:
return cls(transport, protocol, timeout)
def send(self, payload):
logger.debug("Sending packet: %r", payload)
packet = HEADER_SIMPLE + payload
self.transport.sendto(packet)
@ -60,6 +60,7 @@ class A2SStream:
self.close()
def send(self, data):
logger.debug("Sending packet: %r", data)
packet = HEADER_SIMPLE + data
self._socket.sendto(packet, self.address)