Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPS has been dropped when creating multiple streaming #33

Open
hongson23 opened this issue Feb 13, 2021 · 4 comments
Open

FPS has been dropped when creating multiple streaming #33

hongson23 opened this issue Feb 13, 2021 · 4 comments
Labels
question Further information is requested

Comments

@hongson23
Copy link

hello @k-yle,

When I have created 1 streaming this module works fine but fps have been dropped if we have the number of streaming video > 2. Fps become more and more "drop out" when I added the number of streaming
Could you please check it ?
thanks

@k-yle k-yle added the question Further information is requested label Feb 17, 2021
@k-yle
Copy link
Owner

k-yle commented Feb 18, 2021

Hi, this is expected. Every extra stream means more data is being transmitted over the network, and there is only a finite amount of bandwidth.

@jernaumorat
Copy link

jernaumorat commented Nov 16, 2021

Is there any way to optimise this that you know of? I have a usecase where I need 12+ streams active at once, and even low-quality streams start to tank the render. I understand that video processing is difficult, but is there a way you can conceive to swap out jsmpeg for a wasm decoder that leverages GPU? (I'm not too familiar with jsmpeg, it could well do this already)

Bandwidth in my case is definitely not a concern, as there are gigabit links between the client/local server and all rtsp cameras.

@k-yle
Copy link
Owner

k-yle commented Nov 17, 2021

hey @jernaumorat, my understanding is that jsmpeg already uses wasm if possible, and there aren't any viable alternatives to jsmpeg, but I'm open to suggestions. I realise this isn't very helpful, sorry.

@fullmooooon
Copy link

Creating separate JSMpeg objects allows playing multiple RTSP videos on the page.
#271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants