title: Handling / receiving live video webcam stream from WebRTC or any browser based capturing mechanism to the server using ASP.NET MVC
body: <p>We need to capture a live video stream from WebRTC (or any other capturing mechanism from the client webcam, even if it is not supported on all browsers, but as a PoC).</p>
  
  <p>This live video needs to be handled by a server component (ASP.Net MVC / Web API), I imagine that the code on the server will look like:</p>
  
  <pre><code>[HttpPost]
  public ActionResult HandleVideoStream(Stream videoStream)
  {
        //Handle the live stream
  }
  </code></pre>
  
  <p>Looking for any keyword or helpful link. </p>
  
  <p>We have already implemented a way to send individual frames using base64 jpg, but this is not useful at all, because there is a huge overhead of the base64 encoding and because we could use any video encoding to send the video more efficiently (send the difference between the frames using VPx -vp8- for example), the required solution needs to capture a video from the webcam of the client and send it live (not recorded) to the server (asp.net) as a stream -or chunks of data representing the new video data-.</p>