--- tags: Touch Cloud --- # RTSPtoWeb ## Repository: https://github.com/deepch/RTSPtoWeb 1. [Install](https://github.com/deepch/RTSPtoWeb/tree/master#installation) 2. Edit the [config.json](https://github.com/deepch/RTSPtoWeb/tree/master#example-configjson) 3. Run and open web browser http://127.0.0.1:8083 to check if it work - [API docs](https://github.com/deepch/RTSPtoWeb/blob/master/docs/api.md) 1. [HLS-LL Endpoints](https://github.com/deepch/RTSPtoWeb/blob/master/docs/api.md#hls-ll) > http://127.0.0.1:8083/stream/{STREAM_ID}/channel/{CHANNEL_ID}/hlsll/live/index.m3u8 - [Performance](https://github.com/deepch/RTSPtoWeb#performance) > CPU usage ≈0.2%-1% one (thread) core cpu intel core i7 per stream ## Actual Latency - CPU: Intel® Core™ i5-8400 - Input source: RTSP | Protocol | Actual Latency (second) | Expected Latency (second) | | -------- | -------- | -------- | | HLS | 8 | 6-30 | | HLSLL | 1 | <2 | | MSE | <1 | 3 | | WEBRTC | <1 | <1 | - ![](https://hackmd.io/_uploads/rkixdaNBh.jpg) ## Acutal CPU usage - CPU: Intel® Core™ i5-8400 1. Streaming | Streaming | CPU usage (%) | | -------- | -------- | | 1 camera | 2 | | 2 cameras | 4 | | 3 cameras | 6.3 | | 4 cameras | 9.2 | | 5 cameras | 8.9 | | 6 cameras | 7 | | 7 cameras | 9.6 | | 8 cameras | 10.3 | - ![](https://hackmd.io/_uploads/SJmhDQPI3.jpg) 2. Multiview | Multiview | CPU usage (%) | | -------- | -------- | | 1 view | 1.3 | | 2 views | 3.7 | | 3 views | 5.3 | | 4 views | 8 | | 5 views | 11.9 | | 6 views | 12.3 | | 7 views | 32.5 | | 8 views | 49.2-62.7 | | 9 views | 62.4 | | 10 views | 61.6 | | 11 views | 62.3 | | 12 views | 62.7 | - ![](https://hackmd.io/_uploads/SygoTPmvL3.jpg)