title: How do I implement DeviceSource for streaming from webcam in Live555?
body: <p>I am working on a webcam streaming server project, using <strong>Live555</strong> as the server.
  I need to be able to stream from <strong>ordinary USB Webcams</strong>, which requires me to implement <strong>DeviceSource.cpp</strong> as I read on live555's FAQ page. However, I am currently not having enough knowledge or clue on how to implement this.</p>
  
  <p>I intend to use <strong>ffmpeg</strong> as the encoder.</p>
  
  <p>Can anybody provide me with some proper directions that I can follow?</p>