Hi, I want to send a CVImageBufferRef I got from
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection{
CVImageBufferRef imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffer); }
over the network using NSOutputStream's write:maxLength: method.
Anybody can give a simple example to achieve this? And also to read the sent data at the receiver?
Thanks.