获取直播频道 中的播放地址
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取直播频道中的播放地址</li>
</ul>
<h5>请求URL</h5>
<ul>
<li>
<p><code>https://tv.liveyyy.com/tv/load</code></p>
</li>
<li><code>示例 https://tv.liveyyy.com/tv/load?channel=cctv1</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">channel</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>频道 例如cctv1</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"msg": "查询成功",
"code": 200,
"data": [{
"id": "014a431b69c3b89ce93d08d861dcc4b5",
"url": "http://39.135.138.60:18890/PLTV/88888910/224 /3221225618/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:29.477167 "
}, {
"id": "01c60107498af08a9f3a36109a675686",
"url": "http://hwrr.jx.chinamobile.com:8080/PLTV/88888888/224/3221225762/index.m3u8",
"channel": "cctv1 ",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:50.163313"
}, {
"id": "034c22b7f6d584af304f1f78a31e0f71",
"url ": "http://[2409:8087:1414:22::112d]/wh7f454c46tw3498689980_663871177/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226675/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:30:41.538813"
}, {
"id": "05bd6b00d396a07da62e2e26ab2fd10e",
"url": "http:/ /hwrr.jx.chinamobile.com:8080/PLTV/88888888/224/3221225918/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264 ",
"updateTime": "2023-02-17T12:03:32.743989"
}, {
"id": "0c0da068c2a683479fa33f74e4bba6c7",
"url": "http://39.134.115.163:8080/TVOD/88888910/224/3221225618 /index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:22.884113"
}, {
"id": "0c17b45d57146a0d3072ac4b8bf7a16e",
" url": "http://hwrr.jx.chinamobile.com:8080/PLTV/88888888/224/3221225642/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:38.693424"
}, {
"id": "0cffe2032a6808f40288fc008dd91c72",
"url": "http://[2409:8087:5011 :1020::1a]/180000001001/00000001000000001001000000000036/main.m3u8?IASHttpSessionId=OTT",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime ": "2023-02-17T12:03:20.123126"
}, {
"id": "0d4c9a1a6f266a4b8fdbe3fe16abd2f5",
"url": "http://39.135.138.58:18890/PLTV/88888888/224/3221225642/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:33.16448"
}, {
"id": "1427ad36e8bb2c950c5ee39eee948fbd",
"url": "http://39.135.138.58:18890/PLTV/88888888/224/3221225618/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:28.276501"
}, {
"id": "198b6f64174a539ce0152ca0a714affb",
"url": "http://[2409:8087:1414:22::112d]/wh7f454c46tw3571653152_-2066612672/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226920/index.m3u8",
"channel": "cctv1",
"width": 1280,
"height": 720,
"codecName ": "h264",
"updateTime": "2023-02-17T13:03:01.525845"
}, {
"id": "23c36e3a6c4fcb75cb2e085774057184",
"url": "http://hwrr.jx.chinamobile.com:8080 /PLTV/88888888/224/3221225618/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02 -17T12:03:14.996465"
}, {
"id": "297676f7be8417bbd38a4f9ee13dc33c",
"url": "http://39.135.138.58:18890/PLTV/88888888/224/3221225918/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:41.857501"
}, {
"id": "2de4a4ee62adc50bf656507065a5da59",
"url": " http://39.135.138.59:18890/PLTV/88888910/224/3221225642/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:48.260334"
}, {
"id": "36e3814b8e91569a03c59a7a8602b037",
"url": "http://[2409:8087:1414:22::112d]/wh7f454c46tw3157216 -2066612672/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226721/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime时间": "2023-02-17T13:02:33.682838"
}, {
"id": "3cfc7ac0638d547b85dded67fdca0aac",
"url": "http://121.51.249.6/4403-tx.otvstream.otvcloud.com/otv/skcc/live /channel1/index.m3u8",
"channel": "cctv1",
"width": 1024,
"height": 576,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:31.647628 "
}, {
"id": "44d69a07002fa1662cf58f043f422073",
"url": "http://hwrr.jx.chinamobile.com:8080/PLTV/88888910/224/3221225762/index.m3u8",
"channel": "cctv1 ",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:40.970939"
}, {
"id": "4cf8757ae2246418c9e159aa8f03ceb9",
"url ": "http://117.169.120.244:8080/wh7f454c46tw2520989601_203106496/hwrr.jx.chinamobile.com/PLTV/88888910/224/3221225618/index.m3u8?icpid=88888910&RTS=1648965019&from=79102&ocs=2_117.169.120.241_8080&hms_devid=1402&online=1648965019&vqe=3",
"channel": " cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:30.984764"
}, {
"id": "517d6e78cea03423d811c4ba7b047aa3",
" url": "http://39.135.138.58:18890/PLTV/88888888/224/3221226225/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "hevc",
"updateTime": "2023-02-17T12:03:34.316863"
}, {
"id": "59ed3aa5b21bb68cefe7f7f9681f9fd3",
"url": "http://[2409:8087:5011:1020::1d]/180000001001/00000001000000001001000000000036/main.m3u8?IASHttpSessionId=OTT",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName ": "h264",
"updateTime": "2023-02-17T12:30:28.954178"
}, {
"id": "5adfbe842b4ab1da322baaebd9c9102e",
"url": "http://[2409:8087:3428:20: 500::1009]:6610/PLTV/88888888/224/3221225922/index.m3u8?servicetype=1&IASHttpSessionId=RR423820220409134714119178",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T13:03:08.750508"
}, {
"id": "6527adc91e4955139517784315f624e5",
"url": "http://39.135.138.58:18890/PLTV/88888888/224/3221226221/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "hevc",
"updateTime": "2023- 02-17T12:03:31.52842"
}, {
"id": "72a30d84ece527ab9c94156cdbdc8101",
"url": "http://[2409:8087:3869:8021:1001::e5]:6610/PLTV/88888888/224 /3221225642/2/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03 :17.333455"
}, {
"id": "766738b30f40e1e02f5a2e09488d7082",
"url": "http://[2409:8087:3428:20:500::1009]:6610/PLTV/88888888/224/3221226995/index. m3u8?servicetype=1&IASHttpSessionId=RR423820220409134714119178",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T13:03:09.300538"
}, {
"id": "9ecdd324b2f3dcbdb1fb1cbdbf1519ed",
"url": "http://[2409:8087:5011:1020::2c]/180000001001/00000001000000001001000000000036/main.m3u8?IASHttpSessionId=OTT",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:21.055632"
}, {
"id": "afa043870a1b8c03288ed1f3060b1c96",
"url": "http://39.135.138.58 :18890/PLTV/88888910/224/3221225618/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:24.045472"
}, {
"id": "afbb253352ad0d3dfdea5ead4580ae22",
"url": "http://39.134.115.163:8080/PLTV/88888910/224/3221225642/index.m3u8",
" channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:04:02.613169"
}, {
"id": " b4ddf40330df89b2e1e3fc3c99509ec5",
"url": "http://117.169.124.149:8080/live/HD-8000k-1080P-cctv1/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T11:44:47.301864"
}, {
"id": "b960a7551648b08d9ac55ed1ed7a2b96",
"url": "http://[2409:8087 :3428:20:500::100f]:6610/PLTV/88888888/224/3221226995/index.m3u8?servicetype=1&IASHttpSessionId=RR423820220409134714119178",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
" updateTime": "2023-02-17T13:03:05.150482"
}, {
"id": "c1a844daaf79f596122c3336d72c5471",
"url": "http://hwrr.jx.chinamobile.com:8080/PLTV/88888910/224/ 3221225618/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:03:37.115595"
}, {
"id": "d6e4b32aa4373e186d9d99e82eeba452",
"url": "http://219.140.56.34:3333/tsfile/live/0001_1.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T11:02:11.931784"
}, {
"id": "d9952b50884be25423ec0e5af3e4d911",
"url": "http://hwrr. jx.chinamobile.com:8080/PLTV/88888888/224/3221225501/index.m3u8?fmt=ts2hls",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": " h264",
"updateTime": "2023-02-17T12:03:43.563014"
}, {
"id": "db109646687a39b2daaf63f3699e665e",
"url": "http://tvmvip110.club/as.php?id=cctv1hd",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T13:04:27.209578"
}, {
"id": "e72808c50a454b25d554454800816b45",
"url": "http://39.134.115.163:8080/TVOD/88888910/224/3221225642/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName ": "h264",
"updateTime": "2023-02-17T12:03:24.169203"
}, {
"id": "f095027415d8a99e8c6e737031372eae",
"url": "http://hwrr.jx.chinamobile.com:8080 /PLTV/88888910/224/3221225642/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02 -17T12:03:25.578011"
}, {
"id": "f3efad8b67c5667bb31abbe2fe530489",
"url": "http://tvmvip110.club/bst.php?id=94",
"channel": "cctv1",
"width ": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12:15:36.580797"
}, {
"id": "f77589c5ecf739363ab0e8f27e5e6678",
"url": "http://117.169.121.162:6610/PLTV/ 88888910/224/3221225618/index.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T12: 03:16.144985"
}, {
"id": "f85f130d99072e9d174bed8db56381d7",
"url": "http://222.240.82.92:9901/tsfile/live/0001_1.m3u8",
"channel": "cctv1",
"width": 1920,
"height": 1080,
"codecName": "h264",
"updateTime": "2023-02-17T14:18:28.068216"
}],
"success": true
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>