开发者

Get raw data stream from AVFoundation Capture Session

开发者 https://www.devze.com 2023-03-18 11:54 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消