pub unsafe extern "C" fn switch_rtp_set_invalid_handler(
rtp_session: *mut switch_rtp_t,
on_invalid: switch_rtp_invalid_handler_t,
)Expand description
\brief Set a callback function to execute when an invalid RTP packet is encountered \param rtp_session the RTP session \param on_invalid the function to set \return