The solution that worked for me was adding:
kCVPixelBufferWidthKey and kCVPixelBufferHeightKey with the resolution to the videoSettings property of AVCaptureVideoDataOutput object.
Topic:
Media Technologies
SubTopic:
Audio
Tags: