chore: Some logging
This commit is contained in:
parent
de6f4b2a4d
commit
80b73922ac
|
@ -205,8 +205,6 @@ impl AtemSocketInner {
|
||||||
buffer[20..20 + payload.len()].copy_from_slice(payload);
|
buffer[20..20 + payload.len()].copy_from_slice(payload);
|
||||||
self.send_packet(&buffer).await;
|
self.send_packet(&buffer).await;
|
||||||
|
|
||||||
debug!("{:x?}", buffer);
|
|
||||||
|
|
||||||
self.in_flight.push(InFlightPacket {
|
self.in_flight.push(InFlightPacket {
|
||||||
packet_id,
|
packet_id,
|
||||||
tracking_id,
|
tracking_id,
|
||||||
|
@ -277,7 +275,7 @@ impl AtemSocketInner {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn recieved_packet(&mut self, packet: &[u8]) {
|
async fn recieved_packet(&mut self, packet: &[u8]) {
|
||||||
debug!("RECV {:x?}", packet);
|
debug!("Received {:x?}", packet);
|
||||||
|
|
||||||
if packet.len() < 12 {
|
if packet.len() < 12 {
|
||||||
debug!("Invalid packet from ATEM {:x?}", packet);
|
debug!("Invalid packet from ATEM {:x?}", packet);
|
||||||
|
|
Loading…
Reference in New Issue