Fix SexBJCam browser-first playback deadline - #12
Merged
Merged
Conversation
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SexBJCam 旧解析先等待浏览器获取播放器,再导航浏览器读取 HLS,且画质探测会重复三轮。宿主不按 timeout 结束时,普通 HTTP 回退无法执行,最终只显示
stage=total-deadline。1.1.9 改为先通过 HTTP 读取公开打包配置,只有必要时才进行一次 12 秒浏览器媒体捕获;HLS 正文只用最多 4 秒 HTTP 请求。HTTP/正文及浏览器等待均有脚本侧截止时间,详情、资源发现和播放各限 28 秒。已验证的常规 CDN 流程只需要 User-Agent;浏览器分支保留实际捕获媒体头,不推定跨来源 Origin/Referer。去除从任意变体猜造 master 的行为。
原始 HLS 显示为原始画质,失败不生成可缓存的假默认线路。此前成功的分辨率元数据可在临时网络失败时复用,签名 URL 与媒体凭证不写入缓存或资源版本。每次播放刷新源配置,缺失请求画质时选择最高真实画质;404、验证页、非 HLS、空清单、blob-only、浏览器异常及超时按阶段报告。详情标题优先读取影片标题,避免误读嵌套上传者姓名。
保留
sexbjcam-mini-library.js下载路径、媒体库 ID、baseURL、历史详情 URL 及quality:1080/720/480载荷。未合并 main。验证:
player-http-timeout,不声称来源始终可用。保持草稿:代码及桌面诊断通过不等于 iPhone 起播成功。脚本截止时间无法强制关闭宿主原生请求,实际浏览器回传/原生切画质仍待用户设备测试。