Skip to content

Why set nano_sleep_packet_s.tv_nsec to 665778 ns? #5

@szcwlewoang

Description

@szcwlewoang

I can use sendts to send ts files over udp successfully now.
However, I am confused about one variable in line 774 of sendts.c as below.
nano_sleep_packet_s.tv_nsec = 665778; // 1 packet at 100Mbps
Can anyone teach me how did this value "665778" come from?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions