Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7560571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:56:15+00:00 2026-05-30T12:56:15+00:00

I am using MPMoviePlayerController to play streaming audio. I’m trying to get background audio

  • 0

I am using MPMoviePlayerController to play streaming audio. I’m trying to get background audio working correctly. Right now, audio continues to play when you exit the app – the lock-screen and multi-tasking bar controls even work.

When a song finishes, the app is supposed to advance to the next track and play it. It works when the app is open but not when it is in the background (a song finishes but does not advance to the next track). If a song finishes and you re-open the app, however, the next song will start up immediately.

I am currently using NSNotificationCenter to keep track of when tracks end to advance to the next track (in my app delegate). Again, it works like a charm when the app is open. Is there a better way to do this to keep audio playing after a song is done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:56:16+00:00Added an answer on May 30, 2026 at 12:56 pm

    I had this issue lately. Hope the answer helps other people.

    If you have a playlist for example and want to play the next song while in background mode or lock mode add this line of code on your viewDidLoad:

    [[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
    

    This makes the app supports remote control events.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to play Audio URL (streaming URL) in MPMoviePlayerController. (I'm aware of AVAudioFramework
I'm trying to play an HTTP live streaming video using a MPMoviePlayerController object, inside
I'm using MPMoviePlayerController to play a video which has audio as well. It's working
On the iphone, when trying to play a broken url using MPMoviePlayerController the user
I'm using MPMoviePlayerController to play a .3gp video , i get the data from
I am using the MPMoviePlayerController to play the live streaming videos, and the code
every one. I'm trying to figure out how to play live stream using MPMoviePlayerController.
I am trying to get a video playing in an iOS applocation, using MPMoviePlayerController
Hi I have several apps using a MPMoviePlayerController. These apps play HTTP Live streaming
I am using MPMoviePlayerController currently to play a video inside IPhone and now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.