Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在抖音直播时,出现错误,无法正常播放 #12

Open
iT-Boyer opened this issue Jun 7, 2023 · 2 comments
Open

在抖音直播时,出现错误,无法正常播放 #12

iT-Boyer opened this issue Jun 7, 2023 · 2 comments

Comments

@iT-Boyer
Copy link

iT-Boyer commented Jun 7, 2023

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"
    }
  ]
}
@lorniu
Copy link
Owner

lorniu commented Jun 8, 2023

是所有抖音直播都有问题,还是只有这个?

这个当前没直播,我没法测试。

@iT-Boyer
Copy link
Author

iT-Boyer commented Jun 8, 2023

目前测试到的抖音直播路径,都会出现这个错误,日志中好像 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))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants