设置和获取帧率

555

# 设置和获取帧率

# 设置帧率

Path:

/api/fps

Method: PUT

Content-type: application/json; charset=utf-8

接口描述: 设置帧率

请求参数

名称 类型 示例 描述
fps int 0 帧率,15 < fps <120,超出范围无效

请求示例

{"fps": 30}

# 获取帧率

Path:

/api/fps.json

Method: GET

Content-type: application/json; charset=utf-8

接口描述: 获取帧率

响应参数

名称 类型 示例 描述
fps int 0 帧率,15 < fps <120,超出范围无效

响应示例

{"fps": 30}