Wednesday, May 1, 2013

NSURLRequest NSURLNetworkServiceTypeVideo example ios


enum
{
   NSURLNetworkServiceTypeDefault    = 0,
   NSURLNetworkServiceTypeVoIP       = 1,
   NSURLNetworkServiceTypeVideo      = 2,
   NSURLNetworkServiceTypeBackground = 3,
   NSURLNetworkServiceTypeVoice      = 4
};
typedef NSUInteger NSURLRequestNetworkServiceType; 

NSURLNetworkServiceTypeVideo
Specifies that the request is for video traffic.
Example of [NSURLRequest NSURLNetworkServiceTypeVideo]
[request setNetworkServiceType:NSURLNetworkServiceTypeVideo];