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

更新直播视频流文档 #1074

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

TES286
Copy link
Contributor

@TES286 TES286 commented Aug 4, 2024

更新直播流文档

看提交记录,旧文档早已经有几年历史了

docs/live/live_stream.md Outdated Show resolved Hide resolved
@xiaoyv404 xiaoyv404 added 直播/Live 接口:直播 更新/Update 更新过时内容 labels Aug 7, 2024
@xiaoyv404 xiaoyv404 added this to the API Update milestone Aug 7, 2024
@xiaoyv404 xiaoyv404 linked an issue Aug 7, 2024 that may be closed by this pull request
@xiaoyv404 xiaoyv404 requested a review from SessionHu August 7, 2024 02:57
"is_hidden": false, // 是否隐藏
"is_locked": false, // 是否锁定
"is_portrait": false,
"live_status": 1, // 直播状态:1为开播,0为下播
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2为未开播

| dolby | num | 杜比 | - | 参考:`5` |
| panorama | num | 环绕音 | - | 参考:`1` |

> 注意:请将Referer设置为相关链接,如`https://live.bilibili.com/`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cURL 测试 Referer 头不必要

Comment on lines +17 to +19
| protocol | num[] | 协议 | - | 参考:`0,1` |
| format | num[] | 格式 | - | 参考:`0,1,2` |
| codec | num[] | 编码 | - | 参考:`0,1,2` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此三者参数均为必要, 别的必要性描述不要留空, 写不必要即可

@SessionHu
Copy link
Contributor

另外该接口已在 获取直播间信息 收录, 可能需要将该 PR 的更改与原描述合并到 docs/live/live_stream.md

@SessionHu
Copy link
Contributor

may close #286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
直播/Live 接口:直播 更新/Update 更新过时内容
Projects
None yet
Development

Successfully merging this pull request may close these issues.

新版获取直播流的 api
3 participants