SDAVAssetExportSession
SDAVAssetExportSession copied to clipboard
Crash when set audioSettings to nil
From SDAVAssetExportSession.h,
/**
* The settings used for encoding the audio track.
*
* A value of nil specifies that appended output should not be re-encoded.
* The dictionary’s keys are from <CoreVideo/CVPixelBuffer.h>.
*/
@property (nonatomic, copy) NSDictionary *audioSettings;
So I guess it means that if audioSettings is set to nil, original audio settings from asset will be used, right?
But the result is that, if audioSettings is set to nil, it crashes. Did I misunderstand the behavior?
Yes, +1