GithubHelp home page GithubHelp logo

Latency issue about live HOT 6 CLOSED

ltebean avatar ltebean commented on July 23, 2024
Latency issue

from live.

Comments (6)

ltebean avatar ltebean commented on July 23, 2024

for how many seconds?

from live.

garudaonekh avatar garudaonekh commented on July 23, 2024

around 1 second.

from live.

ltebean avatar ltebean commented on July 23, 2024

1s delay is already very short
generally, the acceptable range for rtmp delay is 2-4s

from live.

garudaonekh avatar garudaonekh commented on July 23, 2024

I have seen Bigo Live. its delay is 10-500ms(My guess)--nearly real time. I think it's even better than Facebook live.
Just wonder how they achieve it.

from live.

San-Jeevan avatar San-Jeevan commented on July 23, 2024

theoretically if you are in same country as the relaying server you can get around 300ms.
Remember the latency will be like this:

  • Capture video, encode, packetize and send to server: 60ms
  • Server to process: 10ms
  • Stream receiving device to decode: 40ms
  • Round trip time forth and back from server: same country ~40-100ms.
  • buffer on server, streaming client or streaming receiver: this can have massive impact on latency

but too many factors here. your device has to have good enough CPU.

Also I dont know Bigo Live, but they may be using webrtc?
Device-2-device streaming without relaying server.

//edit:
jsut seen bigo live, they dont use webrtc as its multicasting.

from live.

garudaonekh avatar garudaonekh commented on July 23, 2024

@San-Jeevan: Thank you so much for explaining in detail. Much appreciated!

from live.

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.