NewHorizon NewHorizon - 1 month ago 10
iOS Question

iOS MusicSequence: MusicPlayerStart() failed, return error code: -66720

I searched this error code, that means kAudioToolboxError_NoTrackDestination.

I want to know how to figure it out


It's the permission issue.Just add "Private - Microphone" into your info.plist, and by the way, if you want to use MIDI system in iOS, just open the "audio" in your background mode