Closed diegovazquez closed 4 years ago
UDP has no built in ordering, and UDP packets cannot be guaranteed to be properly reconstructed if fragmented. There is a protocol called TCP that provides exactly what you want!
@lbernstone thank you for your answer. I will expand about what i want to do.
I want broadcast all video frames (esp32-cam) and make a receptor without join the ESP32 AP (similar to https://github.com/rodizio1/EZ-WifiBroadcast), for that, i need send the information without all TCP checks (loss packets is not a problem). This is very usefull for FPV (First-person view) for drones or planes. When your signal is lost, you dont need rejoin the AP, and you dont need get data in the esp32-cam.
For that is ideal 1 packet, 1 frame (small resolution (CIF)).
Thank you
You would need to rebuild the compiled libraries with changes to the lwip options.
thank you, i will try that and inform
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
Hardware:
Board: ESP32-CAM Core Installation version: 1.11.2 IDE name: Platform.io Flash Frequency: 40Mhz PSRAM enabled: no Upload Speed: 115200 Computer OS: Ubuntu
Description:
Hello, english is not my mother tongue; please excuse any errors on my part. I whant to send a video using 1 UDP packet per frame, when i send the frame, gets fragmented in multiple UPD packets.
I thing UDP MTU is set to 1500 (like TCP). How i can fix that?
Test:
tcpdump -i wlp62s0 udp port 4444
Sketch: