title: iOS AVFoundation to stream video into OpenGL Texture
body: <p>According to:</p>
  
  <p><a href="https://stackoverflow.com/questions/12500408/can-i-use-avfoundation-to-stream-downloaded-video-frames-into-an-opengl-es-textu">Can I use AVFoundation to stream downloaded video frames into an OpenGL ES texture?</a></p>
  
  <p>It's posible to get the frames from an remote media. However  I've been trying the suggestion, but the documentation about the use of <code>AVPlayerItemVideoOutput</code> is not very clear, it seems to have a delegate method <code>outputMediaDataWillChange</code>, which have the pointer to the <code>AVPlayerItemVideoOutput</code> instance.</p>
  
  <p>Maybe I'm doing a wrong assumption , but this delegate method it's called every time the data will change?. It is the right place to get the <code>CVPixelBuffer</code>?.</p>