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

Type representing a single encrypted packet (video or audio). More...

#include <encrypted_elementary_media_packet.h>

Inheritance diagram for samsung::wasm::EncryptedElementaryMediaPacket:
Collaboration diagram for samsung::wasm::EncryptedElementaryMediaPacket:

Public Attributes

std::vector< EncryptedSubsampleDescriptionsubsamples
 
std::vector< uint8_t > key_id
 ID of the key needed to decrypt given packet. More...
 
std::vector< uint8_t > initialization_vector
 Initialization Vector (IV) needed to decrypt given packet. More...
 
EncryptionMode encryption_mode
 Type of initialization data used for encryption. More...
 
- Public Attributes inherited from samsung::wasm::ElementaryMediaPacket
Seconds pts
 
Seconds dts
 
Seconds duration
 Duration of the packet. More...
 
bool is_key_frame
 Whether the packet represents a key frame. More...
 
size_t data_size
 Size in bytes of packet data. More...
 
const void * data
 Base address of buffer containing data of the packet. More...
 
uint32_t width
 
uint32_t height
 
uint32_t framerate_num
 
uint32_t framerate_den
 
SessionId session_id
 

Detailed Description

Type representing a single encrypted packet (video or audio).

Definition at line 25 of file encrypted_elementary_media_packet.h.

Member Data Documentation

◆ encryption_mode

EncryptionMode samsung::wasm::EncryptedElementaryMediaPacket::encryption_mode

Type of initialization data used for encryption.

Definition at line 38 of file encrypted_elementary_media_packet.h.

◆ initialization_vector

std::vector<uint8_t> samsung::wasm::EncryptedElementaryMediaPacket::initialization_vector

Initialization Vector (IV) needed to decrypt given packet.

Definition at line 35 of file encrypted_elementary_media_packet.h.

◆ key_id

std::vector<uint8_t> samsung::wasm::EncryptedElementaryMediaPacket::key_id

ID of the key needed to decrypt given packet.

Definition at line 32 of file encrypted_elementary_media_packet.h.

◆ subsamples

std::vector<EncryptedSubsampleDescription> samsung::wasm::EncryptedElementaryMediaPacket::subsamples

Array of descriptions of subsamples of which given packet consists of.

See also
EncryptedSubsampleDescription

Definition at line 29 of file encrypted_elementary_media_packet.h.


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