My goal is to stream images captured by AVCpatureInput from one iOS device to another via bonjour.
Here is my current method:
1) Capture frame from video input
UIImage does not conform to NSCoding --> NSKeyedArchiver fails.
You'll have to use UIImagePNGRepresentation() to get the data of the image. Or use UIImageJPEGRepresentation() for compressed data.