• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: wow, Pandora rocks ... how to make make my iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wow, Pandora rocks ... how to make make my iPhone


  • Subject: Re: wow, Pandora rocks ... how to make make my iPhone
  • From: "Marco Papa" <email@hidden>
  • Date: Fri, 5 Dec 2008 14:41:56 -0800

On Fri, Dec 5, 2008 at 1:43 PM, William Bates <email@hidden> wrote:
Marco:
 (1) the cell connection switches from 3G to EDGE or vice versa
 I wrote an iPhone app (Zulu Time) that hangs onto a single connection for hours in complex conditions (hiking, driving, etc.)
<http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=295533105&mt=8>
 In my experience, the 3G/EDGE/WiFi connection transitions are designed to be transparent, meaning your iPhone app in theory doesn't know and doesn't need to know when they happen.   
  So if they are in fact causing problems with your stream, my guess is that you will need to do some semantic level tracking of the stream contents.... 
 It might be an idea to test using http range requests on a really huge file.
 (2) IMHO the SCNetworkReachability API doesn't tell you much of interest.


William,

I have embedded SCNetworkReachability and I also I think it does not do it for me as it treats EDGE and 3G the same. I can only see transitions between WiFi, (EDGE/3G) and a total loss of any kind of connection, i.e., 3 states. 

In my app the audio stream pretty much "stops"m i.e., (I just do not receive any more MP3 frames, though I am waiting for them), when I have either 3G -> EDGE or EDGE - > 3G transitions. I have to "explicily" stop and restart the audio queues and streams.

--
Marco Papa, Ph.D.
Computer Science Department
University of Southern California
Henry Salvatori Computer Center
Los Angeles, California 90089-0781
Voice: +1-213-974-2137
Cell: +1-310-944-5468
E-mail: email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: wow, Pandora rocks ... how to make make my iPhone
      • From: William Bates <email@hidden>
References: 
 >Re: wow, Pandora rocks ... how to make make my iPhone (From: "Marco Papa" <email@hidden>)
 >Re: wow, Pandora rocks ... how to make make my iPhone (From: William Bates <email@hidden>)

  • Prev by Date: Re: wow, Pandora rocks ... how to make make my iPhone
  • Next by Date: Re: wow, Pandora rocks ... how to make make my iPhone
  • Previous by thread: Re: wow, Pandora rocks ... how to make make my iPhone
  • Next by thread: Re: wow, Pandora rocks ... how to make make my iPhone
  • Index(es):
    • Date
    • Thread