Is NSURLSession with NSURLSessionDataTask safe for streaming network connection?
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