Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid flooding of the UDP socket #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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