Skip to content

Why set nano_sleep_packet_s.tv_nsec to 665778 ns? #5

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?

Activity

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

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