视频元素的Mozcapturestream停止音频输出的使用
在视频标签上调用Mozcapturestream API导致停止音频输出
OS:Windows 10(x64) 浏览器:Mozilla Firefox 100.0.2(64位)
Call mozCaptureStream API on video tag causes to stop audio output
OS: Windows 10 (x64)
Browser: Mozilla Firefox 100.0.2 (64-bit)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 bug 1178751 ,Firefox确实销毁了AudioSink,从原始媒体元素中销毁了AudioSink Mediastream。
他们仍在研究(7年后),希望他们有一天会修复它,并停止前缀
capturestream()
。直到今天到来,您可以使用AudioContext播放MediaStream的音频:
This is BUG 1178751, Firefox does destroy the AudioSink from the original media element so that it's instead transferred into the newly produced MediaStream.
They're still working on it (after 7 years), and hopefully they'll fix it one day and stop prefixing
captureStream()
.Until this day comes, you can use an AudioContext to play the MediaStream's audio: