有没有办法使用 HTML5 将 MediaStream 作为编码视频转发到服务器而不使用 WebRTC?

发布于 2025-01-14 17:31:23 字数 152 浏览 3 评论 0原文

我需要将摄像头和麦克风数据从浏览器流式传输到服务器,最好使用 WebM 等标准编码。我更愿意在不使用 WebRTC 的情况下执行此操作,因为我不需要协商任何点对点连接。有没有办法用 HTML5 + JS 来做到这一点?到目前为止,我只找到了在客户端记录流或使用 WebRTC 转发流的方法。

I need to stream camera and microphone data from a browser to a server, ideally using a standard encoding like WebM. I would prefer to do this without using WebRTC because I don't need to negotiate any peer-to-peer connection. Is there a way to do this with HTML5 + JS? So far I've only found ways to record a stream on the client side, or forward a stream using WebRTC.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文