Move visionDidCaptureVideoSample and visionDidCaptureAudioSample callbacks calls below CFRelease(bufferToWrite)