Git Product home page Git Product logo

Comments (3)

cracker0dks avatar cracker0dks commented on August 22, 2024

this is not so easy as it sounds, this has to do with encoding and webrtc encryption... webrtc is very cpu heavy on the server side... so you cant use it with more than 6 Cams on. If you turn it of, you need to use wasm on the client... but you only have 1 cpu / stream for decoding... so it depends a lot on your client how much is possible. But maybe we find a way around that.

from accelerator.

emaalouf avatar emaalouf commented on August 22, 2024

What if we had separate encoding server, maybe something with GPU encoding, to help encode the video at lightning speeds, let me know if you think that would be feasible.

Best,

from accelerator.

cracker0dks avatar cracker0dks commented on August 22, 2024

If you have the correct hardware you should be able to use hardware acceleration right away (if you force h264 video encoding through the config)
But common codecs today are VP8 and VP9 also AV1 is coming... hardware acceleration is very bad for all of them on server hardware.
The best way I see atm is client side encoding in combination with e2e described here: https://jitsi.org/blog/e2ee/
This way the server don't need to do encoding and we can use hardware acceleration on the client + some webrtc features.
The problem here is that is only supported on chrome for now, that's why I didn't implemented it back than.

from accelerator.

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.