title: Is it possible to stream a YouTube video to a C++ application?
body: <p>Is it possible to stream a YouTube video to a C++ application?</p>
  
  <p>In particular, I am wondering whether YouTube provides an API for this besides extracting the stream from the URL like livestreamer does (<a href="http://docs.livestreamer.io/cli.html" rel="nofollow">http://docs.livestreamer.io/cli.html</a>).</p>
  
  <p>If extracting the stream from the URL is the only way to do this then does anyone know if that is against YouTube's terms of service?</p>
  
  <p>My goal is to stream video to a C++ application without hosting it myself and render it with DirectX.</p>
  
  <p>I am asking this here because youtube shut down their forums.</p>