If DTCP-AKE fails or AKE hasnt happened for a request for a high value content, how would the client be notified of the error in the current model? Wouldn't the error 401 "Not Authorized" be sent to the clients?
Yes - the client should receive a response with error 401 "Not Authorized".
There is an internal issue open against the RI where OCAP stack does not handle the following event generated by the platform when a problem is encountered with DTCP authorization, (description from mpeos_hn.h):
* Sent whenever authorization is no longer valid for a streaming
* session. Any problem that occurs during DTCP/IP decryption of incoming
* content on the PLAYER or during DTCP/IP encryption of outgoing content on
* the server should be signalled via this event.
* optionalEventData1 - N/A
* optionalEventData2 - N/A
* optionalEventData3 - N/A
MPE_HN_EVT_SESSION_NO_LONGER_AUTHORIZED = MPE_HN_EVENT_BASE + 7
Because of this issue, the RI will not respond with 401 error code.
Please open an Issue Tracker issue to ensure this problem is addressed and given proper priority.
Thanks! Should this event be sent by the platform before RI stack sends the http status response?
In that case this event has to be posted after StreamOpen()?
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.