iPhone video camera streaming

后端 未结 1 1212
独厮守ぢ
独厮守ぢ 2021-02-04 18:25

Can anyone confirm how an app like this is done?

PocketCam

Is the way to capture the camera\'s video stream using AVFoundation?

http://developer.apple.c

相关标签:
1条回答
  • 2021-02-04 18:37

    I can't confirm how PocketCam works, however, as of iOS4, AVFoundation is the correct way to do this. You will receive a callback with the frame you need. At that point you would push the frame as an image to some server computer listening on the network waiting for frames. Keep in mind that you could be receiving a lot of frames and you may not have enough bandwidth to push all of them depending on the quality/size/resolution of the frames. Here is a technical note from Apple that discusses how to implement frame captures with AVFoundation.

    0 讨论(0)
提交回复
热议问题