苏州电视台直播源
输出直播源地址

请求方式:get

请求地址:qqlykm.cn/api/ya/live.php

返回格式:json

请求示例:qqlykm.cn/api/ya/live.php?channel=sztv1

提示:一共5个直播频道(sztv1至sztv5)

请求参数:

名称 必填 类型 说明
  channel string 一共为5个直播频道,可任意选择输入sztv(后面加数字1到5)

返回参数:

名称 类型 说明
  name string 返回的直播名称
  m3u8 string 返回m3u8格式直播源
  dir string 返回卫视图标
  url_rtmp string 返回rtmp格式直播源

返回示例:

[{"id":"60","name":"\u82cf\u5dde\u65b0\u95fb\u7efc\u5408\u9891\u9053","logo":{"rectangle":{"host":"http:\/\/img.kan0512.com\/","dir":"material\/live\/img\/","filepath":"2016\/11\/","filename":"20161108103644ZgaK.jpg"},"square":{"host":"http:\/\/img.kan0512.com\/","dir":"material\/live\/img\/","filepath":"2016\/11\/","filename":"20161108103644ZgaK.jpg"}},"snap":[],"m3u8":"http:\/\/show.kan0512.com\/ncsztv1\/playlist.m3u8?_upt=1a5dcc9e1586935648","cur_program":{"start_time":"11:50","program":"\u98ce\u4e91\u5267\u573a"},"save_time":"168","next_program":{"start_time":"15:40","program":"\u8054\u64ad\u82cf\u5dde"},"audio_only":"0","aspect":"16:9","content_url":"http:\/\/html.kan0512.com","channel_stream":[{"url":"http:\/\/show.kan0512.com\/ncsztv1\/playlist.m3u8?_upt=1a5dcc9e1586935648","name":"","stream_name":"sd","m3u8":"http:\/\/show.kan0512.com\/ncsztv1\/sd\/live.m3u8?_upt=7a4bc32c1586935648","bitrate":"500","url_rtmp":"rtmp:\/\/livetv.kan0512.com\/live\/ncsztv1_sd?wsSecret=a5b40b28c1249f86db22b585755ae063&wsTime=5e969b40"}],"url_rtmp":"rtmp:\/\/livetv.kan0512.com\/live\/ncsztv1_sd?wsSecret=a5b40b28c1249f86db22b585755ae063&wsTime=5e969b40","ad":{"launch":[{"title":"415","ad_id":"2288","brief":"","link":"","material":{"host":"https:\/\/img.kan0512.com\/","dir":"material\/adv\/img\/","filepath":"2020\/04\/","filename":"f910c396a22706123b732ddbcea8ee2b.jpg"},"type":"image","clktracker":"","imptracker":"","m3u8":null,"param":{"time":"5000","is_over":"","forceShowAdImage":""}}]},"share_url":"http:\/\/html.kan0512.com"}]