帮助列表 |
https://openapi.aodianyun.com/v2/LPS.GetLiveUrls
POST
access_id:安全校验ID,值为字符串。必选
示例:“access_id”:“123456789”
access_key:安全校验码,值为字符串。必选
示例:“access_key”:“ABCDEFG”
appId: appId 值为字符串。必选
示例:“appId”:“123”
stream: stream 值为字符串。必选
示例:“stream”:“sss”
curl -X POST https://openapi.aodianyun.com/v2/LPS.AddPublishTo -d'{"access_id":"123456789", "access_key":"ABCDEFG","appId":"lisssusss","stream":"ss"}'#注意开发时,请写成一行!
Flag:操作处理结果状态码
示例:“Flag”:100。提示:Flag=100为成功,失败为非100,失败原因在FlagString中体现。
FlagString:操作处理结果状态说明
示例:“FlagString”:“操作成功”
{ "Flag": 100, "FlagString": "操作成功", "data": { "rtmp_publish": "rtmp://11.lps.aodianyun.com/xx/xx?k=a085a&t=8304624", "rtmp_play": "rtmp://11.lpsplay.aodianyun.com/xx/xx", "hls_play": "https://lpshttp.aodianyun.com/xx/xx.m3u8", "flv_play": "https://lpshttp.aodianyun.com/xx/xx.flv", "fmp4_play": "https://lpsplay.aodianyun.com/xx/xx.mp4", "srt_publish": "srt://1011.lps.aodianyun.com:8020?streamid=pub/xx/xx/a085a8fcdaf740dc40ccb0236a4c6c0b/1698304624", "srt_play": "srt://1011.lps.aodianyun.com:8020?streamid=play/xx/xx", "rtc_publish": "webrtc://lpsrtc.aodianyun.com/xx/xx?k=a085a8fcdaf740dc40ccb0236a4c6c0b&t=1698304624", "rtc_play": "webrtc://lpsrtc.aodianyun.com/xx/xx" } }
您可以使用奥点云开放平台提供的API接口调试工具进行接口调试。
请登录:https://openapi.aodianyun.com/tools