Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8962141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:04:05+00:00 2026-06-15T16:04:05+00:00

I have one computer which sends exactly every 5 millisecond a UDP packet with

  • 0

I have one computer which sends exactly every 5 millisecond a UDP packet with measurement data.

Another computer, with an high speed line scan camera included, receives these packets and fills the packetdata as additional data into the endless camera image.

The problem is that the packets did not arrive every 5 milliseconds. Thats OK. I know that network packets have jitter. Sometimes 10 ms delay, sometimes there is no delay between two packets. So its not a good idea to fill the UDP data into that endless image at the moment they arrive.

Time --------------------------------------------------------------------> 
UDP Packets: A   B  C     D    E   F       G  H     I  J      K ....
Cam Lines:   012345678901234567890123456789012345678901234567890 ...
Optimal:     A    B    C    D    E    F    G    H    I    J    K ...

Does anyone know an goot synchronisation algorithm to solve this problem?
One difficulty is the fact that this is an endless running system and the synchronisation has to be self adjusting.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:04:07+00:00Added an answer on June 15, 2026 at 4:04 pm

    With any streaming system like this where you have inter packet jitter, you want to implement a jitter buffer and decouple the playback from the data receive. Receive your packets in a buffer (size depends on how much jitter you might have). Don’t start playing any data out until your buffer is half full (or some other threshold you choose). Then you have a playback thread that just reads from the jitter buffer every 5ms and does the output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a program which sends images from one computer to another (similar
I only have one computer (running OS X), and need to test in both
What do I have to do to copy a complete workspace from one computer
I have installed Oracle 10g in one of my office's computer. I want to
I have one XML request which I need to modify (to XML) and then
I have a Windows 7 computer that hat more than one IP-Address. Now I
I am trying to send a file from one computer to another using Java.
I have to send file byte-by-byte to serially connected AT89s52 from computer (VB.NET). Every
I have one of my computers seeding a torrent file on port 45000. I
I have one folder synced between two computers (using one of online sync tools).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.