websocket-mse-demo
websocket-mse-demo copied to clipboard
Please share your experience
If you had success with this example, please reply to this issue.
In your reply, please indicate the following:
- camera model
- frames-per-second used
- latency you achieved
- anything else in your mind
Thank you very much for providing these libraries. I have been trying to get streaming to work with WebRTC but without success and only found Valkka and this example recently and am very excited to see if I can work with it.
I have successfully run the example after installing "websockets" (your guide says to install "websocket" but that didn't seem to be enough). Here is the information you requested:
- Camera model: HiWatch (Hikvision) HWI-B120 https://www.hi-watch.eu/en-us/product/2016/ip-camera/bullet-camera/2-0-mp-ir-bullet-network-camera
- 25 FPS at 1920x1080p with max bit rate of 4096kbps
- Latency exactly matching the IOS Hikvision App - Excellent!
- Camera and PC on same LAN
Next steps are to change it to work with Apache2 instead on nginx and add more cameras (up to 7) on the same page.
The reason I am trying to roll my own viewer is because Hikvision don't provide a desktop app for Linux and it keeps crashing on a Mac plus I want to try and improve on motion detection and other elements I don't like with the Hikvision NVR.
Interesting project & thanks for the report! A tip: if you want a linux-based desktop program, you might find this interesting (however, it's kinda experimental: recording doesn't work, lack of onvif functionality, etc).
Cam: Dahua IPC-HFW2230S-S-S2 25 FPS 1920x1080p 4096kbps work ok. GPU acceleration H264 decode not used , CPU l/a ~ 10-15% on Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (~45-50% one core).