title: Create a video-streaming server from a raw H.264 frame stream
body: <p>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?</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>I've been thinking on solving it with Node.JS and my code as follows:</p>
  
  <ol>
  <li>Access the camera stream with my code and expose it through a local socket </li>
  <li>In Node.JS access the created socket and stream its contents to all the clients</li>
  </ol>
  
  <p>IP Camera raw Data ---> My Code --- Local Socket --> Node.js --- ?? ---> Clients</p>
  
  <p>Does anyone knows if this can be done? or is if there's a better option?</p>