设置直播流状态回调地址
POST
https://live.jdcloud-api.com/v1/streamNotifys
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
publishDomain | String | True | 推流域名 | |
notifyUrl | String | True | 直播流状态回调地址 - 必须以 http:// 开头 |
名称 | 类型 | 描述 |
---|---|---|
requestId | String | requestId |
返回码 | 描述 |
---|---|
200 | OK |
400 | Invalid parameter |
401 | Authentication failed |
404 | Not found |
500 | Internal server error |
503 | Service unavailable |
POST
https://live.jdcloud-api.com/v1/streamNotifys
{ "notifyUrl": "http://xxx.com/xxx/xxx", "publishDomain": "push.yourdomain.com" }
{ "requestId": "bgvmivir54gddpgi764se9f4kfr7ge41" }