• 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: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?


  • Subject: Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
  • From: Sasikumar JP <email@hidden>
  • Date: Wed, 03 Dec 2014 07:24:30 +0530

Jens,

On Wed, Dec 3, 2014 at 6:36 AM, Jens Alfke <email@hidden> wrote:

>
> On Dec 2, 2014, at 4:47 PM, Sasikumar JP <email@hidden> wrote:
>
> But some times, connection is terminated with -1001(NSURLErrorTimedOut)
> error code (may be after 10 or 15 mins). I have tried with different radio
> URLs. the same behaviour.
>
>
> That will happen if no data is received from the server for a while. The
> timeout interval is configurable, so you could just make it incredibly long.
>
>
Thank you for your response. I will try with increasing the
NSURLSessionConfiguration.timeOutIntervalForRequest.


> Basically i want to know whether NSURLSession safe for streaming network
> connection?
>
>
> Just "streaming" is kind of vague. Sounds like you mean the
> Shoutcast/Icecast streaming MP3 protocol? It should be, as that's basically
> just an HTTP request with an endless response.
>
>
Yes. I meant Shoutcast/Icecast streaming.


> --Jens
>


--- Sasikumar
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Is NSURLSession with NSURLSessionDataTask safe for streaming network connection? (From: Sasikumar JP <email@hidden>)
 >Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
  • Next by Date: Revert almost working
  • Previous by thread: Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
  • Next by thread: Revert almost working
  • Index(es):
    • Date
    • Thread