I have a video stream with video type / h 264 mime, which broadcasts live h.264 video from a security camera. I am trying to transmit this real time and decode h.264 frames (preferably hardware decoding) and display them as. I have searched many times for libraries or frameworks to support this, but I'm not quite sure if this is the right approach. I looked at AVFoundation a bit, but not sure how to handle the video / h 264 stream. Should I capture every frame (I frame / P frame) from the stream and pass it to AVAssetReader? Any links to a manual / sample code / library would be extremely helpful!
source share