GithubHelp home page GithubHelp logo

Comments (5)

russelltg avatar russelltg commented on May 20, 2024 1

This looks like timestamp rollover, which hasn't been tested very much. I'll add a test for it (one that just simulates a connecting being open for that long). Someone else is welcome to take this but it's complex, so reach out to me.

from srt-rs.

russelltg avatar russelltg commented on May 20, 2024 1

I think this is fixed now. I haven't run a receiver for a long period of time but my synthetic test now passes that didn't before.

Was an issue with timestamp rollover, as expected, but not the issue I assumed it was! Big thanks to @dholroyd for providing some info that lead to the fix.

from srt-rs.

jergon-s avatar jergon-s commented on May 20, 2024

Always 4295 sec.

I think that a variable declared by 'u32' is appecting.
As you know, max value of u32 is 4294967295. And if we assume the value is used as "micro second", that means exact 4295 sec.

So .. my guess is

  1. there is a u32 value.
  2. the value means micro second.
  3. No. 2 means that MAX of the value is 4295 sec.
  4. somewhere in the core, the process is always stopped by this max value 4295.

How about my guess?

from srt-rs.

dholroyd avatar dholroyd commented on May 20, 2024

Thanks @russelltg! My tests are able to run for more than 2^32 ticks now 🎉

Looks like #39 is revealed as the next limit to my test stream's uptime.

from srt-rs.

russelltg avatar russelltg commented on May 20, 2024

6 hour testing time......fantastic :/

from srt-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.