srtp2_sys

Function srtp_get_protect_rtcp_trailer_length

Source
pub unsafe extern "C" fn srtp_get_protect_rtcp_trailer_length(
    session: srtp_t,
    use_mki: u32,
    mki_index: u32,
    length: *mut u32,
) -> srtp_err_status_t
Expand description

@brief srtp_get_protect_rtcp_trailer_length(session, use_mki, mki_index, length)

Determines the length of the amount of data Lib SRTP will add to the packet during the protect process. The length is returned in the length parameter

returns err_status_ok on success, err_status_bad_mki if the MKI index is invalid