I just finished a streaming video (stored in sd card of esp) via wifi tcp ( by samba protocol), however for a big video (high resolution and big fps), esp almost drops down after a moment, especially when enabling bluetooth.
I suspect that some parameters of wifi weren't configured well to support for a massive buffer transmission. I found out some which seem relevant: (could be configured in menuconfig)
1/ max number of wifi dynamic tx buffer ( set max value 128)
2/ WiFi AMPDU TX BA window size ( if too high, the streaming is stopped with "wifi: alloc eb len=196 type=2 fail", too low: the Wifi access point is down(disappear during streaming).
3/ Default send buffer size ( as my testing, higher,better, so i set 600000
So, i hope to get experiences to configure wifi to contribute the best result, if there is anymore parameter which I need to consider, I also am grateful to know
wifi tcp transmission: configure to get the best for streaming application
Re: wifi tcp transmission: configure to get the best for streaming application
I am using Http Web server with SD card.
I am getting similar error
wifi: alloc eb len=192 type=2 fail
I am using WIFI with external RAM.
Internal Heap free: 41120
Heap free: 4195984:4233744
Plenty of external ram and some internal RAM.
Does in default settings WIFI only uses internal ram.
I am getting similar error
wifi: alloc eb len=192 type=2 fail
I am using WIFI with external RAM.
Internal Heap free: 41120
Heap free: 4195984:4233744
Plenty of external ram and some internal RAM.
Does in default settings WIFI only uses internal ram.
Who is online
Users browsing this forum: No registered users and 128 guests