DYH云

DYH开放接口


默认页面

<h5>简要描述</h5> <p>-获取直播信息</p> <h5>请求URL</h5> <ul> <li><code>/api/live/getLiveInfo</code></li> </ul> <h5>请求方式</h5> <ul> <li>Get</li> </ul> <pre><code>{     "code":20000,     "msg":"success",     "time":"2022-12-16 18:04:11",     "data":{         "liveId":2738,         "platformId":1280,         "name":"直播间",         "thumb":"[https:\\/\\/vvod.obs.cn-north-4.myhuaweicloud.com\\/202008\\/21\\/25e30054ec4e0b5f783c788e3d3f00c4.png](https://vvod.obs.cn-north-4.myhuaweicloud.com//202008//21//25e30054ec4e0b5f783c788e3d3f00c4.png)",         "serial":"29637tnGxA",         "hit":167,         "shareCount":0,         "activityId":2596,         "liveStatus":1,         "onlineSwitch":1,         "showCheckin":0,         "courseware":0,         "askSwitch":0,         "showCheckout":0,         "streamType":1,         "liveCover":0,         "giftMeme":0,         "gasket":"",         "top":0,         "status":1,         "addTime":"2021-09-15 11:54:00",         "updateTime":"2021-09-15 11:54:00",         "rtmpUrl":"rtmp:\\/\\/rtmp4.dyhculture.com\\/live\\/29637tnGxA?auth\_info=CCHb%2FhSnF%2B1FI6CcDPsVP1XDmKhj9AUzYNW08xEWY2qkLyQPGGeI1EX8rfIovMdq.37373636333963343239626361613435",         "barrageSwitch":0,         "mixLive":"0",         "browserTitle":"",         "pullUrl":\[             {                 "name":"原画",                 "url":"[https:\\/\\/live4.dyhculture.com\\/live\\/29637tnGxA.m3u8](https://live4.dyhculture.com//live//29637tnGxA.m3u8)"             },             {                 "name":"流畅",                 "url":"[https:\\/\\/live4.dyhculture.com\\/live\\/29637tnGxA\_llld.m3u8](https://live4.dyhculture.com//live//29637tnGxA_llld.m3u8)"             }         \],         "pullRtmp":"rtmp:\\/\\/live4.dyhculture.com\\/live\\/29637tnGxA",         "envPushUrl":"rtmp:\\/\\/rtmp4.dyhculture.com\\/live\\/29637tnGxA\_env?auth\_info=h1TpG5SyfYh2HjmC0U6bYRUCAYKXuU8r29V2vEiGonVc5jLpjK4L0iQaIlCDWik5.34303436333963343239626361623135",         "screenPushUrl":"rtmp:\\/\\/rtmp4.dyhculture.com\\/live\\/29637tnGxA\_screen?auth\_info=g7rJnrE5jO4fCCGjamqiZXOAGoRbKtdVRqwUjRMYgq4%2B%2BnVqbnAJk9leRnQ8EVOA.38333236333963343239626361623235"     } }</code></pre>

页面列表

ITEM_HTML