Skip to content

Latency discrepancy when all clients run in same machine #11

@HerculanoGripp

Description

@HerculanoGripp

Hi, I'm using socket-ntp to play videos synchronized in two or more machines. To do that, we schedule videos to start play at the same time based on latency between clients(ntp.latency()).

It works fine if clients run in different machines. Now I need to run all clients on the same machine, but it seems that latency is not the real one between the client and server. If I increase the number of clients in the same machine the latency worst.

I think the latency calculation is not to exactly when you have the server and other clients in the same machine. I tried to increase/decrease both parameters sync interval and clear interval but I had no success.

Does someone have any idea to solve this issue?

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