elsampsa / websocket-mse-demo

Stream H264 to browsers with websocket and w3 media source extensions
122 stars 31 forks source link

Please share your experience #3

Open elsampsa opened 3 years ago

elsampsa commented 3 years ago

If you had success with this example, please reply to this issue.

In your reply, please indicate the following:

mpserellis commented 3 years ago

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:

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.

elsampsa commented 3 years ago

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).

alexey001 commented 3 years ago

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).