[][src]Function srtp2_sys::srtp_remove_stream

pub unsafe extern "C" fn srtp_remove_stream(
    session: srtp_t,
    ssrc: c_uint
) -> srtp_err_status_t

@brief srtp_remove_stream() deallocates an SRTP stream.

The function call srtp_remove_stream(session, ssrc) removes the SRTP stream with the SSRC value ssrc from the SRTP session context given by the argument session.

@param session is the SRTP session from which the stream will be removed.

@param ssrc is the SSRC value of the stream to be removed in network byte order.

@warning Wildcard SSRC values cannot be removed from a session.

@return

  • srtp_err_status_ok if the stream deallocation succeded.
  • [other] otherwise.