pub unsafe extern "C" fn obs_output_begin_data_capture(
    output: *mut obs_output_t,
    flags: u32
) -> bool
Expand description

Begins data capture from media/encoders.

@param output Output context @param flags Set this to 0 to use default output flags set in the obs_output_info structure, otherwise set to a either OBS_OUTPUT_VIDEO or OBS_OUTPUT_AUDIO to specify whether to connect audio or video. This is useful for things like ffmpeg which may or may not always want to use both audio and video. @return true if successful, false otherwise.