My MPEG-DASH segment has WRMHeader in moov->pssh.
I get needKey event with OnDemand header in initData. I create keysession with it.
If initData contains a PlayReady object that contains an OnDemand header, only akeyAdded event is returned (as opposed to a keyMessage event as described in the Encrypted Media Extension draft), followed by I get 0x8004b82b (MSPR_E_NO_RIGHTS).
My media segments contains PRO header with ELS. But I do not see the keymessage at all.
At what point of time should I acquire the license and how do I create challenge?