mpvi
mpvi copied to clipboard
在抖音直播时,出现错误,无法正常播放
Error when get url for douyin/46474190447: {
"rid": "46474190447",
"title": "欢迎大家喝喝茶唠唠嗑品鉴传统评弹!",
"urls": [
{
"format": "flv",
"url": "http://pull-hs-f5.flive.douyincdn.com/third/stream-113154645755691691_uhd.flv?expire=1686743121&sign=86b9d26d7282c8f84408c38006749329&volcSecret=86b9d26d7282c8f84408c38006749329&volcTime=1686743121"
},
{
"format": "m3u",
"url": "http://pull-hs-f5.flive.douyincdn.com/third/stream-113154645755691691_uhd/index.m3u8?expire=1686743121&sign=c8f912f3d92a77c36699239821e8e940&volcSecret=c8f912f3d92a77c36699239821e8e940&volcTime=1686743121"
}
]
}
是所有抖音直播都有问题,还是只有这个?
这个当前没直播,我没法测试。
目前测试到的抖音直播路径,都会出现这个错误,日志中好像 JSON 缺少 ~Nodes~ 字段导致的。
(if (> (length nodes) 0)
(let ((path (if (= (length nodes) 1) (car nodes)
(completing-read "Choose living source: " nodes nil t))))
(prog1 (list path title) ; return path and title
(mpvi-log "Live url: %s" path)))
(user-error "Error when get url for %s/%s: %s" platform rid (string-trim (buffer-string))))