Provide structs commonly used in the SDK, enumerating constant definitions.
struct FilterListImpl ob_filter_list
struct StreamProfileListImpl ob_stream_profile_list
struct SensorListImpl ob_sensor_list
struct SensorImpl ob_sensor
struct StreamProfileImpl ob_stream_profile
struct FilterImpl ob_filter
enum OBSensorType ob_sensor_type
void(* ob_frame_callback)(ob_frame *frame, void *user_data)
Callback for frame.
uint32_t ob_sensor_list_get_sensor_count(ob_sensor_list *sensor_list, ob_error **error)
Get the number of sensors in the sensor list.
ob_filter_list * ob_sensor_get_recommended_filter_list(ob_sensor *sensor, ob_error **error)
Request the list of recommended filter list.
ob_sensor_type ob_sensor_list_get_sensor_type(ob_sensor_list *sensor_list, uint32_t index, ob_error **error)
Get the sensor type.
void ob_delete_sensor(ob_sensor *sensor, ob_error **error)
Delete a sensor object.
const char * ob_get_filter_name(ob_filter *filter, ob_error **error)
Get the name of ob_filter.
ob_stream_profile_list * ob_sensor_get_stream_profile_list(ob_sensor *sensor, ob_error **error)
Get a list of all supported stream profiles.
void ob_sensor_switch_profile(ob_sensor *sensor, ob_stream_profile *profile, ob_error **error)
Dynamically switch resolutions.
uint32_t ob_filter_list_get_count(ob_filter_list *filter_list, ob_error **error)
Get the number of recommended filter list.
ob_sensor * ob_sensor_list_get_sensor(ob_sensor_list *sensor_list, uint32_t index, ob_error **error)
Get a sensor by index number.
void ob_sensor_start(ob_sensor *sensor, ob_stream_profile *profile, ob_frame_callback callback, void *user_data, ob_error **error)
Open the current sensor and set the callback data frame.
ob_sensor_type ob_sensor_get_type(ob_sensor *sensor, ob_error **error)
Get the type of the sensor.
void ob_delete_sensor_list(ob_sensor_list *sensor_list, ob_error **error)
Delete a list of sensor objects.
ob_sensor * ob_sensor_list_get_sensor_by_type(ob_sensor_list *sensor_list, ob_sensor_type sensorType, ob_error **error)
Get a sensor by sensor type.
void ob_delete_filter_list(ob_filter_list *filter_list, ob_error **error)
Delete a list of ob_filter objects.
void ob_sensor_stop(ob_sensor *sensor, ob_error **error)
Stop the sensor stream.
ob_filter * ob_get_filter(ob_filter_list *filter_list, uint32_t index, ob_error **error)
Get the number of recommended filter list.
The error class exposed by the SDK, users can get detailed error information according to the error.