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 6593565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:41:52+00:00 2026-05-25T17:41:52+00:00

I have created an app which streams audio from a webserver. The music player

  • 0

I have created an app which streams audio from a webserver.

The music player in the app works fine if it is installed:

  • As iPhone app on iPad 2

  • In iPhone Simulator

But it does not work on iPhone 3G device.

What could be wrong?

Just to give you a background:

I have two views. One view (MainView) is suppose to play song “ABC”. When user clicks another view (Detail View), it should pause “ABC” and should start song “XYZ”.

Here’s what happens on:

iPhone Device: When we go to Detail View, it pauses songs “ABC”, but after few seconds, it again starts “ABC” instead of “XYZ”.

iPhone Simulator & iPhone app on iPad: When we go to Detail View, it pauses song “ABC” and plays “XYZ”. When we switch back to MainView it again starts playing “ABC” from where it left off.

It looks like problem with Net connectivity but if that is the case then it should not play “ABC” also.

Can you please suggest what could be wrong?

Thanks!

Here the code that I used for Audio Streamer:

- (void)createStreamer
{
NSLog(@"str_audio url:%@",str_AudioUrl);

if (streamer)
{
    return;
}
NSLog(@"create stremer %d",selectedIndex);
//[self destroyStreamer];

NSString *escapedValue = [(NSString *)CFURLCreateStringByAddingPercentEscapes(nil,//Here pass the string of url
                                                                              (CFStringRef)str_AudioUrl,
                                                                              //  (CFStringRef)downloadSourceField.text,
                                                                              NULL,NULL,kCFStringEncodingUTF8)autorelease];

//str_AudioUrl is my string where data come.


NSURL *url = [NSURL URLWithString:escapedValue];
streamer = [[AudioStreamer alloc] initWithURL:url];
NSLog(@"Streamer : %@",streamer);




}
  • 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-25T17:41:53+00:00Added an answer on May 25, 2026 at 5:41 pm

    Found bug with Audiostreamer class. Solution is found in this link:

    https://github.com/mattgallagher/AudioStreamer/issues/26

    Hope this helps someone facing similar problem.

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

Sidebar

Related Questions

I have created an iPhone app which works perfectly smooth on my simulator. Now
I have written an iPhone and iPad app that should streams e.g. 4 videos
I have created an app which allows users to buy non-consumable content. The retrieving-ids-payment-process
I have created an app which allows users to buy non-consumable content. The retrieving-ids-payment-process
I have created an app in which I have used achartengine to construct the
I have created an app that uses NSTimer, which gets triggered each second. My
I have created a library which reads the app.config file and gets the type
I have created an animated game app, In which I am using NSTimer to
I have created an app which starts with a login page, after entering some
I have created an app which uses Application Settings and user defaults following the

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.