I have a IP camera (VisionTech VN6xSM3Ti) which returns me a video stream of H.264 raw data, how can I use this stream to create a live-stream that can be accessed through an HTML5 browser?
To access the camera stream, I must follow a specified protocol from the manufacturer, so it's not as easy as to just access it with the IP address.
I already have the code in C# and C that reads the camera stream as a byte array, but I don't know how to go on.
I've been thinking on solving it with Node.JS and my code as follows:
- Access the camera stream with my code and expose it through a local socket
- In Node.JS access the created socket and stream its contents to all the clients
IP Camera raw Data ---> My Code --- Local Socket --> Node.js --- ?? ---> Clients
Does anyone knows if this can be done? or is if there's a better option?