Open roens opened 1 month ago
It's happens when managing audio in UDP frames. Some frames went missing so we are trying to send with UDP a request for resend. That request cannot be sent because the internal buffers for UDP are full and ultimately we miss, frames. It does not mean that it is a true realtime issue as on other systems as the IP stack would continue to accept packets until the WiFi access is granted (or the IP stack is scheduled), but here we can't. Here, it's likely a limitation of the lwIP stack on esp32 and the fact that there is not a lot of available memory for such handling and cpu is constrained so the IP stack might also not been scheduled.
@roens can you see if your router has a band steering option? I've had cases in the past where such option would not play well with the esp32 in terms of stability. Also check for TX/RX retries if the router gives you such insights.
You could also try to connect your Mac using a cable instead of using wifi.
Having a capable router is good but might not isolate you from greedy neighbors using the 2.4G at 40Mhz bandwidth which can cause spikes of performance degradation.
Describe the bug
I've got a "Loud" unit from the ESParagus folks. I'm using it for AirPlay (from Music in macOS). But it's having trouble playing consistently. In the output via telnet, I see lots of each:
rtp_request_resend:858 [0x3fad3c3c]: SENDTO failed (Not enough space)
buffer_put_packet:516 [0x3fad3c3c]: packet too late seqno:10306 rtptime:1184468724 (W:10458 R:10334)
As far as I know, no device(s) are experiencing WiFi trouble. I'm using Ruckus WiFi6-capable APs, with a 10GbE router running OPNsense.
Preliminary Information
Hardware Details
Please describe your hardware setup:
NVS Settings
Settings, afaik, are default, aside from setting device name and disabling modes I do not intend to use (bluetooth & spotify).
Logs
I can't use your web installer tool as I do not use Chrome. Log collected via telnet, as device is located where direct connection is complicated.
I've had to truncate repititous sections so as to fit within the description length limit (maximum is 65536 characters).
Issue Description