Skip to main content
Version: 20 Mar 2024

MLMediaDRMKeyRequestInputParam

Module: Media Player

More...

#include <ml_media_drm.h>

Public Attributes

TypeName
MLMediaDRMByteArray *init_data
The container-specific data, its meaning is interpreted based on the mime-type provided in the mime_type parameter. It could contain, for example, the content ID, key ID or other data obtained from the content metadata that is required in generating the key request.
char *mime_type
MLMediaDRMKeyTypekey_type
The type of the request. The request may be to acquire keys for streaming or offline content, or to release previously acquired keys, which are identified by a key_set_id.
MLMediaDRMKeyValueArray *optional_params
Optional parameters included in the key request message to allow a client application to provide additional message parameters to the server.

Detailed Description

struct MLMediaDRMKeyRequestInputParam;

Data type that encapsulates Key Request input arguments.


Public Attributes Documentation

init_data

MLMediaDRMByteArray * init_data;

The container-specific data, its meaning is interpreted based on the mime-type provided in the mime_type parameter. It could contain, for example, the content ID, key ID or other data obtained from the content metadata that is required in generating the key request.


mime_type

char * mime_type;

The mime type of the content.


key_type

MLMediaDRMKeyType key_type;

The type of the request. The request may be to acquire keys for streaming or offline content, or to release previously acquired keys, which are identified by a key_set_id.


optional_params

MLMediaDRMKeyValueArray * optional_params;

Optional parameters included in the key request message to allow a client application to provide additional message parameters to the server.