wifi tcp transmission: configure to get the best for streaming application

abcdcadb
Posts: 35
Joined: Mon Aug 07, 2017 1:28 am

wifi tcp transmission: configure to get the best for streaming application

Postby abcdcadb » Tue Dec 26, 2017 4:19 am

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

Who is online

Users browsing this forum: No registered users and 10 guests