Thanks for your reply. I am creating a custom playlists (m3u8) & passing it to player and it is working fine with the custom scheme. In this method shouldWaitForLoadingOfRequestedResource when there is a call for ts segment with the custom scheme . I am replacing the custom scheme with the https. NSURLRequest *redirect = nil; NSString *url = loadingRequest.request.URL.absoluteString; NSRange tldr = [url rangeOfString:@//]; if (![url hasPrefix:@http] && tldr.location != NSNotFound) { url = [url stringByReplacingCharactersInRange:NSMakeRange(0, tldr.location) withString:@https:]; } redirect = [NSURLRequest requestWithURL:[NSURL URLWithString:url]]; [loadingRequest setRedirect:redirect]; NSHTTPURLResponse *response = [[NSHTTPURLResponse alloc] initWithURL:[redirect URL] statusCode:302 HTTPVersion:nil headerFields:nil]; [loadingRequest setResponse:response]; [loadingRequest finishLoading]; and it is working fine .. My question is how I can pass downloaded ts file. i
Topic:
Media Technologies
SubTopic:
Streaming
Tags: