I need to get the data stream from an AVCaptureSession in a semi-live streaming type of way. In my experience with AVFoundation, I can only write the file to disk and then read it out.
Is there a way to capture t开发者_高级运维he data as it comes through the stream to pipe out to a server?
Thanks!
You can get the raw data using AVCaptureVideoDataOutput
and/or AVCaptureAudioDataOutput
.
精彩评论