查询播放鉴权KEY
GET
https://live.jdcloud-api.com/v1/livePlayAuthKey
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
playDomain | String | True | 直播的播放域名 - 仅支持精确匹配 |
名称 | 类型 | 描述 |
---|---|---|
result | Result | |
requestId | String | requestId |
名称 | 类型 | 描述 |
---|---|---|
playDomain | String | 播放域名 |
authStatus | String | 播放鉴权状态 on: 开启 off: 关闭 |
authKey | String | 播放鉴权key |
返回码 | 描述 |
---|---|
200 | OK |
400 | Invalid parameter |
401 | Authentication failed |
404 | Not found |
500 | Internal server error |
503 | Service unavailable |
GET
https://live.jdcloud-api.com/v1/livePlayAuthKey?playDomain=play.yourdomain.com
{ "requestId": "bgvmivir54gddpgi764se9f4kfr7ge41", "result": { "authKey": "sfdseeessdfeswer123", "authStatus": "on", "playDomain": "play.yourdomain.com" } }