How to implement Screen Sharing and Controlling for web application (using web sockets)?

依然范特西╮ 提交于 2019-12-13 01:26:22

问题


The intention is to build a screen controlling/sharing to a web page using web socket.

My question is what is the best way to share a screen (or give control to a screen) (using java or c++ server) to a web socket?

  • how to approach that?
  • what is the most optimized way to do it? (sending only changing parts of the screen etc etc...)

Using java Robot, I have been able to capture print-screens and create video, one of the challenges I have found is capturing the mouse cursor state, since Java Robot does not draw the mouse cursor in the print screens, for now I will just use the same the cursor image to add it to the print scree.

This post is similar to : How to implement screens sharing for web application?

However, that approach does not mention the screen controlling, it only talks about video streaming the screen, so no possible interaction from the clients.

来源:https://stackoverflow.com/questions/18421787/how-to-implement-screen-sharing-and-controlling-for-web-application-using-web-s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!