ARVideoKit
ARVideoKit copied to clipboard
Using RecordAR while using iOS Screen Recording causes crash
This happens both on record()
and .photo()
call.
Error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetWriterInput initWithMediaType:outputSettings:sourceFormatHint:] 4 is not a valid channel count for Format ID 'aac '. Use kAudioFormatProperty_AvailableEncodeNumberChannels (<AudioToolbox/AudioFormat.h>) to enumerate available channel counts for a given format.'
I doubt it matters but I'm using the Swift 5 branch.
I believe this is related to the issue I'm seeing as well: https://github.com/AFathi/ARVideoKit/issues/118
Also on Swift 5 branch. Any updates on this from anyone?