AVCaptureMultipeerVideoDataOutput
AVCaptureMultipeerVideoDataOutput copied to clipboard
Sends video using Multipeer Connectivity
@pj4533 Hi, When i receive image data, how to show it on screen? thx!
``` AVCaptureDeviceInput *videoDeviceInput = [AVCaptureDeviceInput deviceInputWithDevice:videoDevice error:nil]; [_captureSession addInput:videoDeviceInput]; movieFileOutput = [[AVCaptureMovieFileOutput alloc] init]; [_captureSession addOutput:movieFileOutput]; // Create output multipeerVideoOutput = [[AVCaptureMultipeerVideoDataOutput alloc] initWithDisplayName:[[UIDevice currentDevice] name]]; [_captureSession addOutput:multipeerVideoOutput]; [_captureSession commitConfiguration];...
When using higher rate rates (or lower frame rates on older devices), the number of frames "in flight" goes up, thus using more memory. Probably need some sort of memory...