deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.27k stars 302 forks source link

[Question] Control the RAM usage, and the output size of streams #257

Open Thien223 opened 1 year ago

Thien223 commented 1 year ago

Thanks for your great works.

I have a question, How could I control the output size of the streams?

I have 4 cameras need put on our website, but the network traffic is increased much when play all of them at once, and the client's RAM is continuosly increase, too (slowly, about 1% of 16GB RAM every 3 minutes). The RAM is reset if the client refreshes the page.

How could I change the size of the stream to reduce the network traffic, and how could I free/flush the unused objects in RAM?

Thank you so much, this is a very, very awsome project.

thangnq1310 commented 7 months ago

Have you solved it yet?