Skip to content

Avoid flooding of the UDP socket#28

Open
beegee-tokyo wants to merge 1 commit intogeeksville:masterfrom
beegee-tokyo:master
Open

Avoid flooding of the UDP socket#28
beegee-tokyo wants to merge 1 commit intogeeksville:masterfrom
beegee-tokyo:master

Conversation

@beegee-tokyo
Copy link

Without an delay after SendRtpPacket the UDP socket is flooded with send requests and runs out of buffer. A small delay allows FreeRTOS to do a task switch and gives the UDP socket time to actually send some data.

Without an delay after **`SendRtpPacket`** the UDP socket is flooded with send requests and runs out of buffer. A small delay allows FreeRTOS to do a task switch and gives the UDP socket time to actually send some data.
@gururise
Copy link

gururise commented Dec 7, 2020

I great a constant stream of warning messages after implementing this change:
warning exceeding max frame rate of 167 ms

@brainrecall
Copy link

A delay of 10ms is huge. I would replace this with yield() which would accomplish the goal of task switching without the unneeded delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants