srtp2_sys

Function srtp_set_stream_roc

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

@brief srtp_set_stream_roc(session, ssrc, roc)

Set 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