HTML5/H.264 格式桌面共享
我正在尝试通过 http 向一名或多名用户直播我的桌面。近期目标只是以只读模式为多个用户实时共享桌面。将来我们可能允许用户通过鼠标或键盘控制桌面。我在这种情况下有这些疑问 -
HTML5 + H.264 是否适合这个,或者我是否需要使用 Flash?
无论哪种情况,直播基础设施所需的所有组件/服务器是什么? (如桌面、编码器、流媒体服务器、网络服务器、媒体播放器等)?如果您可以发布对每个组件/服务器的偏好,这将有助于比较选项。
I am trying to live stream my desktop over http to one or more users. The immediate goal is just to share the desktop in real time in read only mode for several users. In future we might allow the users to control the desktop as well by mouse or keyboard. I have these queries in this context-
Is HTML5 + H.264 right for this or do I need to go with Flash?
In either case what are all the components/servers I need for a live streaming infrastructure? (Like desktop, encoder, streaming server, web server, media player etc)? It will help compare the options, if You can post your preferences for each of these components/servers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你应该能够用 Flash 做到这一点,我不确定 HTML5。在 Windows 中,我建议您创建一个 directshow 图表来执行此操作。您将需要一个屏幕捕获源过滤器、h264 编码器和一个 Flash 流输出过滤器。
directshow 屏幕捕获过滤器。
http://www.mainmediasoft.com/products/screencapture/
ffdshow 可以编码 h264
http://ffdshow-tryout.sourceforge.net/
flash 流输出过滤器。
http://www.nanocosmos.de/v3/en/rtmp-streaming.html 理论上,
您应该能够在 graphedit 中将所有这些部分拖到一起并使其工作。
You should be able to do this with Flash, I don't know for sure about HTML5. In windows I should suggest you create a directshow graph to do this. You'll want a screen capture source filter, h264 encoder and a flash streaming output filter.
A directshow screen capture filter.
http://www.mainmediasoft.com/products/screencapture/
ffdshow can encode h264
http://ffdshow-tryout.sourceforge.net/
flash streaming output filter.
http://www.nanocosmos.de/v3/en/rtmp-streaming.html
In theory you should be able to drag all these parts together in graphedit and make this work.