I am using LLSimpleCamera for recording a video. It's recording fine when I use rear camera but when I switch to front camera, app crashes and the error reported is
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[AVAssetWriterInput appendSampleBuffer:] Media type of sample buffer must match receiver's media type ("soun")'
I have tried many of the stackOverflow posts but not able to fix crash. Can anyone let me know what can be the issue ?
from LLSimpleCamera : AVAssetWriterInput appendSampleBuffer crashing
No comments:
Post a Comment