Player never set status to ReadyToPlay

Hi there,


we facing a strange issue when we try to play a FairPlay protected stream.

We successfully get contentKeyRequest (no error)

We successfully get license from Key server


so we terminate callback resourceLoader:shouldWaitForLoadingOfRequestedResource by :

1- Set data in contentKeyRequest :

dataRequest.respondWithData(responseData)

2 - Finish the request :

loadingRequest.finishLoading()


But, after that, player never change his status by ReadyToPlay in my observer code 😟


And I don't saw any errors logs neither.


Best regards,

Pierre DUCHENE

Accepted Reply

Is your KSM setting lease/rental parameters?


I had similar symptom as you when those fields where left unset:


See:

https://forums.developer.apple.com/thread/35013

Replies

Is your KSM setting lease/rental parameters?


I had similar symptom as you when those fields where left unset:


See:

https://forums.developer.apple.com/thread/35013

I had just another info we discovered :

I work perfectly on iOS 7 but not on iOS8 and iOS 9 oO


I will ask to server team if KSM config was correct. But I already show us the thread you mention.


Thks anders.su


Regards,

Pierre DUCHENE

Thks you're right, team server made the change and it work now!