Skip to content

Limit frame-rate. #31

Description

@Frans-Willem

WiFi latency may cause two frames to be received too close to each other, causing the WS2801 or WS28012 required frame-gap not to be met.
I think a frame-rate limiter on the receiving end would help.
Input frames should be written to a double buffer, when the entire frame is received the duration since the last frame should be checked. If it would not violate the maximum frame rate, this new frame can be pushed immediatly. If it does violate maximum framerate, a timer should be set to push the new frame as soon as possible. If before this timer elapses (the beginning of) a new frame is received, we should stop the timer and drop the frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions