srtp2_sys

Function srtp_get_stream_roc

Source
pub unsafe extern "C" fn srtp_get_stream_roc(
    session: srtp_t,
    ssrc: u32,
    roc: *mut u32,
) -> srtp_err_status_t
Expand description

@brief srtp_get_stream_roc(session, ssrc, roc)

Get the roll-over-counter on a session for a given SSRC

returns err_status_ok on success, srtp_err_status_bad_param if there is no stream found