帮助列表 |
https://openapi.aodianyun.com/v2/LPS.AddPublishTo
POST
access_id:安全校验ID,值为字符串。必选
示例:“access_id”:“123456789”
access_key:安全校验码,值为字符串。必选
示例:“access_key”:“ABCDEFG”
appId: appId 值为字符串。必选
示例:“appId”:“123”
stream: stream 值为字符串。必选
示例:“stream”:“sss”
publishTo: 推流地址 值为数组(以追加的形式存放在发布源下)。必选
示例:“publishTo”:["rtmp://sdjkdfkff/sddd","rtmp://sdjkdfkff/sddsss"]
curl -X POST https://openapi.aodianyun.com/v2/LPS.AddPublishTo -d'{"access_id":"123456789", "access_key":"ABCDEFG","appId":"lisssusss","stream":"ss","publishTo":["rtmp://sdjkdfkff/sddd","rtmp://sdjkdfkff/sddsss"]}'#注意开发时,请写成一行!
Flag:操作处理结果状态码
示例:“Flag”:100。提示:Flag=100为成功,失败为非100,失败原因在FlagString中体现。
FlagString:操作处理结果状态说明
示例:“FlagString”:“操作成功”
{ "Flag": 100, "FlagString": "操作成功", }
您可以使用奥点云开放平台提供的API接口调试工具进行接口调试。
请登录:https://openapi.aodianyun.com/tools