Skip to main content

Crate playready_ffi

Crate playready_ffi 

Source

Structs§

FfiCdm
FfiKidCk
C Layout
FfiKidCk_Layout
FfiPssh
FfiSession
FfiWrmHeader

Functions§

generate_headers
playready_cdm_create_from_prd
Creates new instance of Cdm from path to .prd file.
playready_cdm_free
Deallocates cdm. If NULL is passed function will do nothing.
playready_cdm_open_session
Creates new Session.
playready_error_message_free
Deallocates error_msg. If NULL is passed function will do nothing.
playready_keys_free
Deallocates keys. If NULL is passed function will do nothing.
playready_license_challenge_free
Deallocates challenge. If NULL is passed function will do nothing.
playready_pssh_free
Deallocates pssh. If NULL is passed function will do nothing.
playready_pssh_from_b64
Creates new instance of Pssh from Base64 string.
playready_pssh_from_bytes
Creates new instance of Pssh from bytes.
playready_pssh_get_first_wrm_header
Extracts first wrm header from Pssh.
playready_session_free
Deallocates session. If NULL is passed function will do nothing.
playready_session_get_keys_from_challenge_response
Returns keys from license response.
playready_session_get_license_challenge
Returns license challenge.