Hi!
I am getting AVErrorMediaServicesWereReset (-11819) thrown as an error by AVMutableCompositionTrack.insertTimeRange(_:of:at:) when trying to insert part of an AVAssetTrack into my video track (an AVMutableCompositionTrack) in my AVMutableComposition. This is not happening every time I'm making an AVMutableComposition, but it is happening frequently.
I am also getting this error thrown when trying to export using an AVAssetExportSession.
Is there any insight into what can cause this error in these scenarios?
Thanks!
Hello @mamphie8,
There are many causes of this error, sometimes it occurs because of an app using an AVFoundation API in an unexpected way, other times it is a system issue. Without a reproducible example, it is quite difficult to make a suggestion other than that you should file a bug report, and include a sysdiagnose noting the time and date that the error occurred.
Best regards,
Greg