Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
samsung::wasm::DRMConfig Struct Reference

Aggregates all data necessary for setting up decryption. More...

#include <media_key.h>

Public Attributes

ContentDecryptionModule cdm
 CDM used by content. More...
 
EncryptionMode encryption_mode
 Encryption mode used by content. More...
 
std::string license_server
 URL of license server providing keys required to decrypt media. More...
 
std::vector< uint8_t > init_data
 Buffer containing DRM-specific initialization data. More...
 
std::string audio_mime_type
 Mime type of encrypted audio or empty string if audio is not encrypted. More...
 
Robustness audio_robustness
 Robustness of audio track. Unused if audio is not encrypted. More...
 
std::string video_mime_type
 Mime type of encrypted video or empty string if video is not encrypted. More...
 
Robustness video_robustness
 Robustness of video track. Unused if video is not encrypted. More...
 

Detailed Description

Aggregates all data necessary for setting up decryption.

Definition at line 44 of file media_key.h.

Member Data Documentation

◆ audio_mime_type

std::string samsung::wasm::DRMConfig::audio_mime_type

Mime type of encrypted audio or empty string if audio is not encrypted.

Definition at line 58 of file media_key.h.

◆ audio_robustness

Robustness samsung::wasm::DRMConfig::audio_robustness

Robustness of audio track. Unused if audio is not encrypted.

Definition at line 61 of file media_key.h.

◆ cdm

ContentDecryptionModule samsung::wasm::DRMConfig::cdm

CDM used by content.

Definition at line 46 of file media_key.h.

◆ encryption_mode

EncryptionMode samsung::wasm::DRMConfig::encryption_mode

Encryption mode used by content.

Definition at line 49 of file media_key.h.

◆ init_data

std::vector<uint8_t> samsung::wasm::DRMConfig::init_data

Buffer containing DRM-specific initialization data.

Definition at line 55 of file media_key.h.

◆ license_server

std::string samsung::wasm::DRMConfig::license_server

URL of license server providing keys required to decrypt media.

Definition at line 52 of file media_key.h.

◆ video_mime_type

std::string samsung::wasm::DRMConfig::video_mime_type

Mime type of encrypted video or empty string if video is not encrypted.

Definition at line 64 of file media_key.h.

◆ video_robustness

Robustness samsung::wasm::DRMConfig::video_robustness

Robustness of video track. Unused if video is not encrypted.

Definition at line 67 of file media_key.h.


The documentation for this struct was generated from the following file: