设置同步节目同步开关(同步音频)

555

# 设置同步节目同步开关(同步音频)

Path:

/api/sync_program_mode

Method: PUT

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

接口描述: 设置同步节目相关开关

请求数据

名称 类型 示例 描述
enable int 1 开关,同步音频,gps同步或者局域网同步。
role String "slave" "slave"为ntp客户端,
deviation int 50 ntp偏差值
interval int 60000 ntp同步间隔
server String "ntp1.aliyun.com" ntp服务器
threshold int 10 ntp同步阈值

请求示例

{
	"audio": {
		"enable": 1
	},
	"gps": {
		"enable": 0
	},
	"lan": {
		"enable": 0,
		"role": "slave"
	},
	"ntp": {
		"enable": 1,
		"sync_ntp_server": {
			"deviation": 0,
			"interval": 120000,
			"server": "ntp1.aliyun.com",
			"threshold": 10
		}
	}
}