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

Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?


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

Hi,
   I have a streaming radio application in appstore, which uses Core
Foundation URL Api to establish the streaming connection. It works fine.

Recently i have replaced the CF URL API code with NSURLSession with
NSURLSessionDataTask. It also works fine in most of the time.

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.

Basically i want to know whether NSURLSession safe for streaming network
connection?

Regards
Sasikumar JP
_______________________________________________

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


  • Follow-Ups:
    • Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: TextEdit Document Icon
  • Next by Date: Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
  • Previous by thread: Re: Sent keyboard events differ in debug and release builds
  • Next by thread: Re: Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
  • Index(es):
    • Date
    • Thread