streaming images over bonjour between two iOS device

前端 未结 1 1173
小鲜肉
小鲜肉 2021-02-10 13:26

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

相关标签:
1条回答
  • 2021-02-10 14:08

    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.

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