Is there any ability to preload a song (the next one in the game) while already playing the other one. I want the second song to start immediately after the first one. How can I achieve this effect ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a AVQueuePlayer, queue up all the tracks you want. Set the
actionAtItemEnd = AVPlayerActionAtItemEndAdvanceThis should then play them with no break. If you still get a break, try creating two separate AVPlayers, and then switch between them programmatically.