帮助列表
帮助列表
获取推流流畅度历史数据

1.接口地址:

https://openapi.aodianyun.com/v2/LPS.GetPublishFluencyRecord


2.HTTP请求方式:

POST


3-1.请求参数说明(JSON格式):

access_id:安全校验ID,值为字符串。必选

示例:“access_id”:“123456789”


access_key:安全校验码,值为字符串。必选

示例:“access_key”:“ABCDEFG”


appId:appid,值为字符串。必选

示例:“appId”:“lps_test_app”


stream:stream。必选

示例:“stream”:“lps_test_stream”


start开始时间戳(毫秒)。可选

示例:“start”: 1735660800000


end结束时间戳(毫秒)。可选

示例:“end”: 1735747200000



3-2.请求示例:


curl -X POST https://openapi.aodianyun.com/v2/LPS.GetPublishFluencyRecord -d '{"access_id":"123456789", "access_key":"ABCDEFG","appId":"lps_test_app","stream":"lps_test_stream","start": 1735660800000,“end”:1735747200000}'

#注意开发时,请写成一行!


4-1.返回结果(JSON格式):

Flag:操作处理结果状态码

示例:“Flag”:100提示:Flag=100为成功,失败为非100,失败原因在FlagString中体现。


FlagString:操作处理结果状态说明

示例:“FlagString”:“操作成功”


data:查询结果

示例:“data”:[

{

"fluency": "100",

"time": 1736147489897

},

{

"fluency": "100",

"time": 1736147549898

},

{

"fluency": "100",

"time": 1736147609900

},

{

"fluency": "100",

"time": 1736147669898

},

{

"fluency": "100",

"time": 1736147729906

},

{

"fluency": "100",

"time": 1736147789897

},

{

"fluency": "100",

"time": 1736147849897

},

{

"fluency": "100",

"time": 1736147909901

},

{

"fluency": "100",

"time": 1736147969896

},

{

"fluency": "100",

"time": 1736148029915

},

{

"fluency": "100",

"time": 1736148089900

},

{

"fluency": "100",

"time": 1736148149901

}

]

4-2.返回参考:

{

"Flag": 100,

"FlagString": "操作成功",

"data": [

{

"fluency": "100",

"time": 1736147489897

},

{

"fluency": "100",

"time": 1736147549898

},

{

"fluency": "100",

"time": 1736147609900

},

{

"fluency": "100",

"time": 1736147669898

},

{

"fluency": "100",

"time": 1736147729906

},

{

"fluency": "100",

"time": 1736147789897

},

{

"fluency": "100",

"time": 1736147849897

},

{

"fluency": "100",

"time": 1736147909901

},

{

"fluency": "100",

"time": 1736147969896

},

{

"fluency": "100",

"time": 1736148029915

},

{

"fluency": "100",

"time": 1736148089900

},

{

"fluency": "100",

"time": 1736148149901

}

]

}

5.接口调试:

您可以使用奥点云开放平台提供的API接口调试工具进行接口调试。

请登录:https://openapi.aodianyun.com/tools


2006 - 2023 aodianyun.com, All Rights Reserved. 奥点科技 版权所有 增值电信业务经营许可证:浙B2-20110306 浙ICP备07500424号 |

  • 电话

    X

    售前咨询:

    400-663-6063

    售后服务:

    400-663-6063

  • 客服

  • 建议

    咨询留言 X
    提  交

在线QQ

售前咨询400-663-6063

售后服务400-663-6063