RTSPtoWebRTC icon indicating copy to clipboard operation
RTSPtoWebRTC copied to clipboard

Performance issue on multiclient connections

Open Devirex opened this issue 5 years ago • 6 comments

If have done some measurements and did recognize some performance issues. I hope that there is some internal buffer or datastructure which is limiting the performance. Here is what i found:

Source is a rtsp stream delivered by an ipcam: Resolution 1280x720 FPS: 25 Bitrate: 4096 kbps Keyframe Interval: 50 All traffic is transmitted over WIFI (30 Mbps / 30000 kbps overall bandwith)

RTSPtoWebRTC is running on a homeserver with an Intel Pentium G4400 @ 3.3 GHz

Table is showing if stream is running smooth or not :

Source Bitrate Client 1 Client 2 Client 3 Overall Bandwith
4096 ok (7-10% CPU) 1 second freezes (13% CPU) All Clients freeze (15% CPU) 16 Mbps
2048 ok (7% CPU ok (9% CPU) 5-10 sec freezes all Clients (10% CPU) 8 Mbps
1024 ok ( 7% CPU) ok (8% CPU) 1 second freezes (13% CPU) 4 Mbps
512 ok (5% CPU) ok (7% CPU) ok ( 8-10% CPU) 2 Mbps

Devirex avatar Feb 04 '21 18:02 Devirex