What could be wrong, here are the steps:
1. load url "Test Streams/Muxed/encrypted/prog_index.m3u8", loads fine
2. the delegate function "shouldWaitForLoadingOfRequestedResource" is called since it url is encrypted
3. in the myGetAppCertificateData function I load the file:
certificate = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://77.110.47.86/fairplaytestdata/dev_certificate.der"]];
and it loads fine, data contains 897 bytes.
4. but this call (streamingContentKeyRequestDataForApp) , just return nil with error -42784
requestBytes = [loadingRequest streamingContentKeyRequestDataForApp:certificate
contentIdentifier:assetId
options:nil
error:&error];
I have downloaded the latest version of the sdk v2.0.3
These steps should be possible without even having started on the KSM implementation, right?