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

YY直播间显示正在录制但没有文件 #826

Open
xueli12 opened this issue Jan 11, 2025 · 0 comments
Open

YY直播间显示正在录制但没有文件 #826

xueli12 opened this issue Jan 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@xueli12
Copy link

xueli12 commented Jan 11, 2025

程序版本

0.7.33

所使用的 config 文件的内容

省略

程序 log

image

自由描述

如题,YY个别直播间(https://www.yy.com/75193930)显示正在录制但没有文件,有一些其他直播间可以录制也有文件。

由于缺乏编译环境,希望有条件的大佬可以帮忙看看。
对比了可以正常下载视频的其他项目的代码,
猜测可能的问题是:
https://stream-manager.yy.com/v3/channel/streams?uid=0&cid={{.Id}}&sid={{.Id}}&appid=0&sequence={{.Seq}}&encode=json这个链接需要更新新的data参数:
{ "head": { "seq": {{.Seq}}, "appidstr": "0", "bidstr": "121", "cidstr": "{{.Id}}", "sidstr": "{{.Id}}", "uid64": 0, "client_type": 108, "client_ver": "5.19.4", "stream_sys_ver": 1, "app": "yylive_web", "playersdk_ver": "5.19.4", "thundersdk_ver": "0", "streamsdk_ver": "5.19.4" }, "client_attribute": { "client": "web", "model": "web2", "cpu": "", "graphics_card": "", "os": "chrome", "osversion": "131.0.0.0", "vsdk_version": "", "app_identify": "", "app_version": "", "business": "", "width": "1920", "height": "1080", "scale": "", "client_type": 8, "h265": 0 }, "avp_parameter": { "version": 1, "client_type": 8, "service_type": 0, "imsi": 0, "send_time": {{.Seq}}, "line_seq": -1, "gear": 4, "ssl": 1, "stream_format": 0 } }
其次是,ffmpeg命令中缺失ua参数或者UA被识别异常,导致服务器拒绝请求。

@xueli12 xueli12 added the bug Something isn't working label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant