title: Decode h264 example ios 7 frame by frame
body: <p>Good day. </p>
  
  <p>I have a ip camera. From it frame by frame comes stream h264.</p>
  
  <p>On the Internet, in particular on stackoverflow, a lot of information about how to decode h264 on iOS.
  But this information is not clear.
  I ask you to show me an example and show right direction of how to decode a frame by frame h264 stream to iOS 7.</p>
  
  <p>What options I have seen and what I know about them:</p>
  
  <ul>
  <li><p>ffmpeg - not suitable for me, as it has LGPL license.</p></li>
  <li><p>AVAnimator library - license inappropriate for me.</p></li>
  <li><p>Hardware decoder - the best solution, but as I understand it, is only
  available for iOS 8.</p></li>
  </ul>
  
  <p>For me to be the perfect option if you give me an example for correct decoding h264 stream and display it on the way to the screen.</p>
  
  <p>Regards.</p>