发布时间:2013-01-07 11:45:45
CMSampleBufferRef TO NSDataCMBlockBufferRef blockBufferRef = CMSampleBufferGetDataBuffer(sampleBuffer);size_t length = CMBlockBufferGetDataLength(blockBufferRef);Byte buffer[length];CMBlockBufferCopyDataBytes(blockBufferRef, 0, length, buffer);NSData *data = [NSData dataWithBytes:buffer length:lengt......【阅读全文】