Giter VIP home page Giter VIP logo

Comments (8)

jlaine avatar jlaine commented on May 19, 2024

Hi, the changes are pretty hard to read could you possibly provide a diff against master?

from aiortc.

mholt-dv avatar mholt-dv commented on May 19, 2024

Sure - I've just looked at the comment - seems like the markup didn't keep my formatting.

from aiortc.

jlaine avatar jlaine commented on May 19, 2024

Also, for my understanding how many packets does a single frame span at most? What kind of resolution are we talking about?

FYI the jitter buffer implementation draws inspiration from pjsip

from aiortc.

mholt-dv avatar mholt-dv commented on May 19, 2024

rtcrtpreceiver-fix+diff.zip

Attached is a zip of the changed files and the diff from the 0.5.0 tag. Which I assume the release i installed cam from.

For your info the max packet packet count on a 10/20 min run from a 1280x720 camera feed varied between around 40 and 84 packets per frame.

from aiortc.

jlaine avatar jlaine commented on May 19, 2024

OK thanks, those are some interesting metrics. For these kind of videos a capacity of 32 is clearly insufficient as we won't even accommodate a full frame.

I'm not sure I'm entirely comfortable with the dynamic resizing as it introduces some additional state, and unless I'm mistaken we never shrink the buffer.

So that we have a common basis to discuss I've applied a slightly reformatted version of your patch on this branch:

https://github.com/jlaine/aiortc/tree/jitterbuffer-mholt-dv

from aiortc.

jlaine avatar jlaine commented on May 19, 2024

@mholt-dv have you had a chance to look at the comments I posted on the code?

from aiortc.

jlaine avatar jlaine commented on May 19, 2024

Without feedback on this issue I'll be closing this issue soon.

from aiortc.

jlaine avatar jlaine commented on May 19, 2024

Should be fixed by 42f4e0f

from aiortc.

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.