You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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).
I (1624) esp_app_main: Setting up config subsystem.
W (1704) nvs_utilities: Configuration memory usage. Heap internal:228675 (min:228535) (used:216) external:4054831 (min:4047227) (used:15556)
I (1704) esp_app_main: Registering default values
I (1704) system_api: Base MAC address is not set
I (1704) system_api: read default base MAC address from EFUSE
W (1704) config: Waiting for config commit ...
I (2704) config: configuration has some uncommitted entries
I (2704) config: Committing configuration to nvs. Locking config object.
I (2704) config: Done Committing configuration to nvs.
I (2704) config: Config committed!
I (2704) esp_app_main: Configuring services
I (2714) services: Configuring I2C sda:-1 scl:-1 port:1 speed:400000
W (2714) services: no I2C configured
I (2714) services: Configuring SPI mosi:-1 miso:-1 clk:-1 host:1 dc:-1
W (2714) services: no SPI configured
W (2714) led: LED GPIO -1 ignored
W (2714) led: LED GPIO -1 ignored
I (2714) led: Configuring LEDs green:-1 (on:0 rmt:-1 -1% ), red:-1 (on:0 rmt:-1 -1% )
I (2714) battery: No battery
I (2714) monitor: Initializing monitoring
I (2714) monitor: Heap internal:229351 (min:228347) external:4038247 (min:4038231) dma:221611 (min:220623)
I (2714) esp_app_main: Initializing display
I (2714) display: Trying to configure display with N/A
W (2714) display: No display driver
I (2714) esp_app_main: Initializing led_vu
I (2714) led_vu: vu meter using length:1 left:0 right:0 status:0 scale:100
I (2714) led_vu: led_vu using gpio:33 length:1 on channel:0
I (2714) esp_app_main: Checking for update url
W (2714) config: Value not found for key fwurl
I (2714) IR: Starting Infrared Receiver mode nec on gpio 39 and channel 7
I (2714) buttons: Created infrared receiver using GPIO 39
I (2714) buttons: starting button tasks
W (2714) config: Value not found for key
I (2714) esp_app_main: Starting Network Manager
W (2714) config: Value not found for key apdelay
I (2714) uart: queue free spaces: 3
I (2714) network_handlers: Network manager configuration: polling max 10176, polling min 15000, ap delay 20000, dhcp timeout 8000, eth timeout 8000
I (2724) http_server: Initializing HTTP Server
I (2734) network_ethernet: Attempting to initialize Ethernet
I (2734) network_ethernet: No Ethernet configuration, or configuration invalid
I (2744) wifi:wifi driver task: 3ffdf1c4, prio:23, stack:6656, core=0
I (2744) wifi:wifi firmware version: 9ec65ef
I (2744) wifi:wifi certification version: v7.0
I (2744) wifi:config NVS flash: enabled
I (2744) wifi:config nano formating: disabled
I (2744) wifi:Init data frame dynamic rx buffer num: 40
I (2744) wifi:Init management frame dynamic rx buffer num: 40
I (2744) wifi:Init management short buffer num: 32
I (2754) wifi:Init static tx buffer num: 12
I (2754) wifi:Init tx cache buffer num: 32
I (2754) wifi:Init static rx buffer size: 1600
I (2754) wifi:Init static rx buffer num: 12
I (2754) wifi:Init dynamic rx buffer num: 40
I (2754) wifi_init: tcpip mbox: 32
I (2754) wifi_init: udp mbox: 32
I (2754) wifi_init: tcp mbox: 32
I (2754) wifi_init: tcp tx win: 8192
I (2754) wifi_init: tcp rx win: 32768
I (2754) wifi_init: tcp mss: 1440
I (2754) wifi_init: WiFi/LWIP prefer SPIRAM
I (2754) network_wifi: Starting wifi
I (2754) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (2854) wifi:mode : sta (08:b6:1f:b7:ae:c0)
I (2854) wifi:enable tsf
I (2854) network_handlers: Existing wifi config found. Attempting to connect.
I (2854) network: Starting DHCP client
I (2854) network_wifi: Wifi Connecting to darkdarkdork…...
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
To automatically execute lines at startup:
Set NVS variable autoexec (U8) = 1 to enable, 0 to disable automatic execution.
Set NVS variable autoexec[1~9] (string)to a command that should be executed automatically
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Putty instead.
W (2884) console: Processing autoexec commands while network manager active. Wifi related commands will be ignored.
I (2884) console: autoexec is set to perform auto-process
I (2884) console: Running command autoexec1 = squeezelite -o i2s -n ESParagus-Kitchen -b 500:2000 -C 30 -d all=info
W (2884) config: Value not found for key autoexec2
squeezelite-esp32> I (2884) squeezelite_cmd: Calling squeezelite
[00:03:09.756] sb_controls_init:249 initializing audio (buttons/rotary/ir) controls (raw:0)
[00:03:09.756] sendSETD:440 sending dimension display:0x0 led_config:1
[00:03:09.758] stream_init:539 init stream
[00:03:09.758] output_init_embedded:78 init device: i2s
[00:03:09.759] output_init_common:433 supported rates: 96000 88200 48000 44100 32000 24000 22050 16000 12000 11025 8000
[00:03:09.760] output_init_embedded:100 init I2S/SPDIF
W (2894) DAC core: DAC does not use i2c
I (2894) DAC external: DAC on I2C @0
W (2894) DAC external: no i2c controlset found
[00:03:09.761] output_init_i2s:347 configuring MCLK on GPIO -1
[00:03:09.761] output_init_i2s:359 invalid MCK gpio -1
I (2894) I2S: DMA Malloc info, datalen=blocksize=4088, dma_buf_count=12
I (2894) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 32, CLKM: 1, BCK_M: 8, MCLK: 22579194.000, SCLK: 2822399.250000, diva: 1, divb: 0
[00:03:09.763] output_init_i2s:376 I2S DAC using I2S bck:26, ws:25, do:22, mute:-1:0 (res:0)
[00:03:09.763] output_init_i2s:396 Initializing I2S mode normal with rate: 44100, bits per sample: 32, buffer frames: 512, number of buffers: 12
[00:03:09.764] equalizer_set_samplerate:124 no equalizer with 32 bits samples
[00:03:09. output_thread_i2s:518 Output state is -1
[00:03:09.765] output_visu_init:75 Initialize VISUEXPORT 512 32 bits samples
[00:03:09.765] output_thread_i2s:522 switching off amp GPIO -1
[00:03:09.766] output_init_embedded:108 init completed.
[00:03:09.766] decode_init:153 init decode
[00:03:09.766] register_alac:547 using alac to decode alc
[00:03:09.766] register_helixaac:686 using helix-aac to decode aac
[00:03:09.766] register_vorbis:526 using vorbis to decode ogg
[00:03:09.767] register_opus:458 using opus to decode ops
[00:03:09.767] register_flac:338 using flac to decode ogf,flc
[00:03:09.767] register_pcm:483 using pcm to decode aif,pcm
[00:03:09.767] register_mad:417 using mad to decode mp3
[00:03:09.768] register_external:469 Initializing AirPlay sink
[00:03:09.771] discover_server:844 sending discovery 25
[00:03:09.771] discover_server:848 error sending discovery
I (5264) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (5264) wifi:state: init -> auth (b0)
I (6604) wifi:state: auth -> assoc (0)
I (6604) wifi:state: assoc -> run (10)
I (6644) wifi:connected with darkdarkdork…, aid = 4, channel 1, BW20, bssid = 34:15:93:56:a2:e1
I (6644) wifi:security: WPA3-SAE, phy: bgn, rssi: -42
I (6644) wifi:pm start, type: 1
I (6654) network: Got an IP address from interface Wifi. IP=10.4.2.151, Gateway=10.4.2.1, NetMask=255.255.255.0, Address was changed
I (6654) esp_netif_handlers: sta ip: 10.4.2.151, mask: 255.255.255.0, gw: 10.4.2.1
I (6654) esp_app_main: Network connected and mDNS initialized with ESParagus-Kitchen
[00:03:13.531] raop_sink_start:178 starting Airplay for ip 10.4.2.151 with servicename ESParagus-Kitchen
[00:03:13.532] raop_create:201 starting mDNS with 08B61FB7AEC0@ESParagus-Kitchen
I (6734) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (7864) httpd_handlers: serving /status.json to peer 10.4.2.153 port 18163
[00:03:14.775] discover_server:844 sending discovery 24
[00:03:19.775] discover_server:844 sending discovery 23
[00:03:24.775] discover_server:844 sending discovery 22
[00:03:24.792] rtsp_thread:397 got RTSP connection 54
[00:03:24.837] rtsp_thread:413 RTSP close 54
I (22254) httpd_handlers: serving /status.json to peer 10.4.2.153 port 22515
[00:03:29.775] discover_server:844 sending discovery 21
[00:03:34.775] discover_server:844 sending discovery 20
[00:03:39.775] discover_server:844 sending discovery 19
[00:03:44.775] discover_server:844 sending discovery 18
[00:03:49.775] discover_server:844 sending discovery 17
[00:03:54.775] discover_server:844 sending discovery 16
[00:03:59.775] discover_server:844 sending discovery 15
[00:04:04.775] discover_server:844 sending discovery 14
[00:04:09.775] discover_server:844 sending discovery 13
[00:04:14.775] discover_server:844 sending discovery 12
[00:04:19.775] discover_server:844 sending discovery 11
[00:04:24.775] discover_server:844 sending discovery 10
[00:04:29.775] discover_server:844 sending discovery 9
[00:04:34.775] discover_server:844 sending discovery 8
I (88694) telnet: We have a new client connection 55
[00:04:39.775] discover_server:844 sending discovery 7
[00:04:44.775] discover_server:844 sending discovery 6
[00:04:49.775] discover_server:844 sending discovery 5
[00:04:54.775] discover_server:844 sending discovery 4
[00:04:54.787] rtsp_thread:397 got RTSP connection 56
[00:04:54.815] handle_rtsp:444 [0x3fad0188]: received ANNOUNCE
[00:04:55.029] handle_rtsp:667 [0x3fad0188]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 1
Observed Behavior: In this instance, I did not experience the former issue where audio ceased coming out of the speakers and the device became unavailable to my audio source: Music app on macOS. Instead, this time, audio persisted, and it played until I stopped playing. However, audio became noticeably choppy (split-second drops in audio, like a high speed pulse).
Expected Behavior: The device should remain available to send audio to via AirPlay, and the audio quality out of the speakers should be "good" (consistent, without dropping any data).
Steps to Reproduce: Reboot the ESP32 device, connect to it in Music via AirPlay, play some audio.
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: