ISDP-获取安卓端播放地址(好望云平台)(API名称:getP2pLiveUrl):响应示例

时间:2024-07-22 16:26:13

响应示例

{
    "failNum": 0,
    "p2p_connections":[
        {
            "device_id": "2198061243WLL4002533",
            "token": *************************************",
            "device_state": "ONLINE",
            "p2p_nodes":[
                {
                    "node_type": "COMMON",
                    "address_type": "IPV4",
                    "address":["10.10.10.1"],
                    "tcp_port": 7020,
                    "udp_port": 7050
                },
                {
                    "node_type": "COMMON",
                    "address_type": "IPV4",
                    "address":["10.10.10.2"],
                    "tcp_port": 7020,
                    "udp_port": 7050
                }
            ],
            "result":{
                "code": "IVM.0",
                "msg": "Success"
            }
        }
    ],
    "live_urls":[
        {
            "device_id": "2198061243WLL4002533",
            "channel_id": "4",
            "live_url": "jvmp://121.37.155.76:7070/live/2198061243WLL4002533?token=&**************************************************",
            "result":{
                "code": "IVM.0",
                "msg": "Success"
            }
        }
    ]
}
support.huaweicloud.com/api-isdp/api_01_0137.html