[][src]Function realsense_sys::rs2_playback_device_set_real_time

pub unsafe extern "C" fn rs2_playback_device_set_real_time(
    device: *const rs2_device,
    real_time: c_int,
    error: *mut *mut rs2_error
)

Set the playback to work in real time or non real time

In real time mode, playback will play the same way the file was recorded. In real time mode if the application takes too long to handle the callback, frames may be dropped. In non real time mode, playback will wait for each callback to finish handling the data before reading the next frame. In this mode no frames will be dropped, and the application controls the frame rate of the playback (according to the callback handler duration). \param[in] device A playback device \param[in] real_time Indicates if real time is requested, 0 means false, otherwise true \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored