Function switch_core_session_read_frame

Source
pub unsafe extern "C" fn switch_core_session_read_frame(
    session: *mut switch_core_session_t,
    frame: *mut *mut switch_frame_t,
    flags: switch_io_flag_t,
    stream_id: c_int,
) -> switch_status_t
Expand description

\brief Read a frame from a session \param session the session to read from \param frame a NULL pointer to a frame to aim at the newly read frame \param flags I/O flags to modify behavior (i.e. non blocking) \param stream_id which logical media channel to use \return SWITCH_STATUS_SUCCESS a the frame was read