Function switch_core_session_set_video_read_codec

Source
pub unsafe extern "C" fn switch_core_session_set_video_read_codec(
    session: *mut switch_core_session_t,
    codec: *mut switch_codec_t,
) -> switch_status_t
Expand description

\brief Assign the video_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