pub unsafe extern "C" fn switch_core_session_set_read_codec(
session: *mut switch_core_session_t,
codec: *mut switch_codec_t,
) -> switch_status_tExpand description
\brief Assign the read codec to a given session \param session session to add the codec to \param codec the codec to add \return SWITCH_STATUS_SUCCESS if successful