title: Streaming from webcam on OS X - what technology to use?
body: <p>I'm building a videoconferencing  application in OS X.</p>
  
  <p>What technology would be best to use for real-time streaming video/audio captured from webcam/microphone in OS X?</p>
  
  <p>So far I was unsuccessful with these methods:</p>
  
  <ul>
  <li>using QTKit I captured the media, but there isn't a way to stream it (without using the QTSS which is too bloaty and hard to control programmatically).</li>
  <li>using QT Java I got everything (almost) working, but the library is deprecated, it crashes every once in a while, signals memory leaking and there isn't a way to save preferences from a settings dialog</li>
  <li>I installed gstreamer using Macports, but there isn't a working osxvideosrc (or audio for that matter)</li>
  </ul>
  
  <p>My next target is VLC because it can access the webcam in OS X, but I'm not sure will it give me what I need - can I control it fully over an API and can I display the stream inside a Cocoa application (using QTKit's player)?</p>