You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2026. It is now read-only.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
决策
P0 使用 MediaRecorder 将麦克风音频和摄像头视频合并录制为一个 WebM 媒体 Blob。用户只能在录制前选择麦克风和摄像头设备;录制中只允许开关当前 track,不切换物理设备。
备选方案
理由
单媒体轨最容易实现播放、暂停、倍速、音量、静音和 seek 对齐。最新方案增加了
mediaCapability、录制前设备枚举、media-warning和录制中设备断开的降级处理;实体设备切换需要分段媒体模型,放到 P1。影响
P0
record-startpayload 和 meta 需要记录选中的 deviceId 与 mediaCapability。设备断开时写入media-toggle和media-warning,finalize partial blob,事件流继续。未来如果支持分段媒体,只新增 segment,不改变事件时间轴。Beta Was this translation helpful? Give feedback.
All reactions