Conversation
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.
空间讲解与其他媒体同时播放时,调用方无法同步停止全部讲解轨道。本改造为 Player 和模型视频提供可选
mediaManager,由应用统一调度播放;Vreo 仅维护本地时间线、成员清理和异步任务代次。一次讲解只建立一个 session,人声、配乐、视频通过
session.bind(element)使用受控媒体操作;嵌套 SDK 和自定义关键帧捕获该 session 的mediaManager。用户点击通过userAction: boolean传入,普通调用默认false。取消、卸载和资源替换使旧的加载、手势和定时回调失效,保留讲解内部混音与局部播放按钮。这是对上一轮 alpha 的接口修订:删除 SDK 的 AudioFocus/lease 接口,不保留旧 alpha 参数兼容。已发布
@realsee/vreo@2.6.4-alpha.5,开发和 peer 依赖精确绑定@realsee/dnalogel@3.81.10-alpha.4。本次兼容发布仅更新版本与 dnalogel 精确依赖、锁文件,以纳入 #88128 的异步暂停后状态同步修复,以及 dnalogel 远端并发的媒体平面修复;Vreo 播放器源码未变。与官方 alpha.4 tarball 逐文件比较,仅 package.json 不同;所有 lib、类型声明和样式资源字节一致。官方 registry 已验证 alpha 指向 2.6.4-alpha.5,latest 保持 2.6.2。
验证:
npm run packages(Babel JS + TypeScript declarations)构建。npm run test:audio-focus:14 项,包括受控媒体操作、加载和播放 Promise 取消、关键帧迟到 readiness、成员停止与完成。移动端 Safari、微信 WebView 与 XR 实播仍需联合设备验收。未修改 Live、jsbridge-x、Five 引擎或 RTC 协议。