rtsp-relay icon indicating copy to clipboard operation
rtsp-relay copied to clipboard

FPS has been dropped when creating multiple streaming

Open hongson23 opened this issue 4 years ago • 4 comments

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

hongson23 avatar Feb 13 '21 04:02 hongson23

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.

k-yle avatar Feb 18 '21 21:02 k-yle

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.

jernaumorat avatar Nov 16 '21 10:11 jernaumorat

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.

k-yle avatar Nov 17 '21 20:11 k-yle