Could you please help confirm if "app-assisted individualization" is working in cobalt Version 11 or do I need a later release?
Thanks.
void MediaKeySession::OnSessionUpdateRequestGenerated(
VoidPromiseValue::Reference* promise_reference, scoped_array<uint8> message,
int message_size) {
MediaKeyMessageEventInit media_key_message_event_init;
// 10.9.4. If a license request for the requested license type can be
// generated based on the sanitized init data:
// 10.9.4.1. Let message be a license request for the requested license type
// generated based on the sanitized init data interpreted
// per initDataType.
// Otherwise:
// 10.9.4.1. Let message be the request that needs to be processed before
// a license request request for the requested license type can be
// generated based on the sanitized init data.
media_key_message_event_init.set_message(new ArrayBuffer(
NULL, ArrayBuffer::kFromHeap, message.Pass(), message_size));
// 10.9.4.2. Let message type reflect the type of message, either
// "license-request" or "individualization-request".
//
// TODO: Introduce message type parameter to |SbDrmSessionUpdateRequestFunc|
// and stop pretending that all messages are license requests.
media_key_message_event_init.set_message_type(
kMediaKeyMessageTypeLicenseRequest);
...
}