enum OBGyroSampleRate ob_accel_sample_rate
ob_gyro_full_scale_range ob_gyro_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error)
获取陀螺仪流配置的量程范围
enum OBGyroSampleRate ob_gyro_sample_rate
struct StreamProfileListImpl ob_stream_profile_list
uint32_t ob_stream_profile_list_count(ob_stream_profile_list *profile_list, ob_error **error)
获取StreamProfile列表的数量
enum OBAccelFullScaleRange ob_accel_full_scale_range
enum OBStreamType ob_stream_type
ob_accel_sample_rate ob_accel_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
获取加速度计流配置的采样频率
ob_accel_full_scale_range ob_accel_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error)
获取加速度计流配置的量程范围
uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error)
获取视频流配置的高
ob_stream_profile * ob_stream_profile_list_get_profile(ob_stream_profile_list *profile_list, int index, ob_error **error)
通过下标获取对应的StreamProfile
uint32_t ob_video_stream_profile_fps(ob_stream_profile *profile, ob_error **error)
获取视频流配置的帧率
void ob_delete_stream_profile_list(ob_stream_profile_list *profile_list, ob_error **error)
删除流配置列表
ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error)
获取流配置的格式
ob_stream_profile * ob_stream_profile_list_get_video_stream_profile(ob_stream_profile_list *profile_list, int width, int height, ob_format format, int fps, ob_error **error)
通过传入的参数进行匹配对应的ob_stream_profile。若有多个匹配项默认返回列表中的第一个, 若未找打匹配的项,则返回错误。
struct StreamProfileImpl ob_stream_profile
void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error)
删除流配置
ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error)
获取流的类型
ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
获取陀螺仪流配置的采样频率
enum OBGyroFullScaleRange ob_gyro_full_scale_range
uint32_t ob_video_stream_profile_width(ob_stream_profile *profile, ob_error **error)
获取视频流配置的宽
SDK 的对外暴露的错误类,用户可以根据该错误类,获取详细的错误信息