Post

Replies

Boosts

Views

Activity

IPhone 14 Audio Issue for VOIP apps
We are experiencing an audio issue on iPhone 14 Pro when using Agora SDK with custom audio recording using AVCaptureSession and AVAssetWriter. There is no problem on iPhone 13 and older devices. Also interesting to note is that when an iPhone 14 device is the only device in the call, no error happens. The error happens when there is another device in the call sending audio to iPhone 14. We think that the problem happens when the iPhone 14 speakerphone is open and at the same time as the microphone from another AVCaptureSession is trying to capture samples. Here is a link to a sample app and detailed steps to reproduce the issue: https://www.dropbox.com/sh/5486wrisnv6hdqu/AACNqKwbTNJhrvwE0EjTWzfza?dl=0
0
0
550
Mar ’23
vImageScale_Planar8 crashing on orientation change in iOS 16
We are calling function vImageScale_Planar8 to downsample an image. On iOS 16, this function is crashing when camera orientation changes (something is changing underlying memory representation of CVPixelBuffer object). On orientation change, we are setting output AVCaptureConnection objects' orientation property. On iOS 15, the same code works perfectly.
1
1
1.4k
Oct ’22
HEIC encoding of CIImage failing with iOS14
I have following simple code that is failing on iOS14 (was working fine with iOS13). The code converts a CIImage object to heif representation. func encodeImageToHeif(_ image: CIImage ) -> Data? { 		return autoreleasepool(invoking: { () -> Data? in 				let color = CGColorSpace(name: CGColorSpace.sRGB) 				let context = CIContext() 				return context.heifRepresentation(of: image, format: CIFormat.RGBA8, colorSpace: color!, options: [kCGImageDestinationLossyCompressionQuality as CIImageRepresentationOption : 0.2] ) 		}) }
1
0
1.6k
Oct ’20
Focus for MultiCam
HI, I am working on an app that uses both 1x and 2x cameras in a multicam session. When I issue focus commands on AVCaptureDevice objects back to back, I am seeing that sometimes one of them does not focus properly. Is there any physical limitation (on power rails for instance) that prevents iPhone to focus on both lenses simultaineously? Thanks
0
0
564
Aug ’20