[−][src]Function mp4parse_capi::mp4parse_get_pssh_info
#[no_mangle]pub unsafe extern "C" fn mp4parse_get_pssh_info(
parser: *mut Mp4parseParser,
info: *mut Mp4parsePsshInfo
) -> Mp4parseStatus
Get 'pssh' system id and 'pssh' box content for eme playback.
The data format of the info
struct passed to gecko is:
- system id (16 byte uuid)
- pssh box size (32-bit native endian)
- pssh box content (including header)
Safety
This function is unsafe because it dereferences the the parser and
info raw pointers passed to it. Callers should ensure the parser
pointer points to a valid Mp4parseParser
and that the fragmented pointer
points to a valid Mp4parsePsshInfo
.