springboot websocket同屏浏览

上传者: daqinzl | 上传时间: 2024-03-11 09:47:58 | 文件大小: 3.22MB | 文件类型: ZIP
实现springboot websocket同屏浏览功能 1,服务端:websocket screen share\jersey-server,推送给其他客户端。 2,运行websocketTest\client.bat,java websocket client截屏发送到服务端,客户端代码websocketTest\WebSocketClient.java。 3,通过浏览器拉取数据,地址为http://ip:8080/hello 运行顺序,先启动服务端,再启动推送客户端,最后通过浏览器浏览截屏,未实现客户端关闭连接处理,因此关闭客户端时会有异常,可以再重启服务端和推送客户端后重连。 4,可以调节客户端发送截屏频率,以及图片压缩质量。 5,注意,未做优化,本项目运行时占比较网络带宽(可以通过第四步调节发送频率和图片压缩质量调节运行时占用的网络资源)

文件下载

资源详情

[{"title":"( 254 个子文件 3.22MB ) springboot websocket同屏浏览","children":[{"title":"assumedExternalFilesCache <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"client.bat <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"sha1-checksums.bin <span style='color:#111;'> 108.55KB </span>","children":null,"spread":false},{"title":"executionHistory.bin <span style='color:#111;'> 92.97KB </span>","children":null,"spread":false},{"title":"sha1-checksums.bin <span style='color:#111;'> 79.33KB </span>","children":null,"spread":false},{"title":"md5-checksums.bin <span style='color:#111;'> 32.66KB </span>","children":null,"spread":false},{"title":"previous-compilation-data.bin <span style='color:#111;'> 29.21KB </span>","children":null,"spread":false},{"title":"md5-checksums.bin <span style='color:#111;'> 25.53KB </span>","children":null,"spread":false},{"title":"fileHashes.bin <span style='color:#111;'> 21.87KB </span>","children":null,"spread":false},{"title":"executionHistory.bin <span style='color:#111;'> 19.61KB </span>","children":null,"spread":false},{"title":"resourceHashesCache.bin <span style='color:#111;'> 18.26KB </span>","children":null,"spread":false},{"title":"outputFiles.bin <span style='color:#111;'> 18.20KB </span>","children":null,"spread":false},{"title":"fileHashes.bin <span style='color:#111;'> 18.16KB </span>","children":null,"spread":false},{"title":"output.bin <span style='color:#111;'> 9.53KB </span>","children":null,"spread":false},{"title":"results.bin <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"last-build.bin <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"last-build.bin <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"last-build.bin <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"WebsocketClientEndpoint.class <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"Util.class <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"Util.class <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"WebSocketTest.class <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"WebSocketClient.class <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"TestController.class <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"WebMvcConfig.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"WebMvcConfig.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ServletInitializer.class <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"ServletInitializer.class <span style='color:#111;'> 885B </span>","children":null,"spread":false},{"title":"DemoApplication.class <span style='color:#111;'> 854B </span>","children":null,"spread":false},{"title":"ResultCommon.class <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"WebSocketClient$1.class <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"DemoApplication.class <span style='color:#111;'> 733B </span>","children":null,"spread":false},{"title":"WebSocketConfig.class <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"HelloController.class <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"HelloController.class <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"DemoApplicationTests.class <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"DemoApplicationTests.class <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"WebsocketClientEndpoint$MessageHandler.class <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 714B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"jquery.ui.plupload.css <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"jquery.ui.plupload.css <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"jquery.ui.plupload.css <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"jquery.plupload.queue.css <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"jquery.plupload.queue.css <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"jquery.plupload.queue.css <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"base-style.css <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"variablesAndContainers.dat <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"externalFilesCache <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"loading.gif <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"loading.gif <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"loading.gif <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"backgrounds.gif <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"backgrounds.gif <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"backgrounds.gif <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"throbber.gif <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"throbber.gif <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"throbber.gif <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"done.gif <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"done.gif <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"done.gif <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"error.gif <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"error.gif <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"error.gif <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"delete.gif <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"delete.gif <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"delete.gif <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"com.example.demo.DemoApplicationTests.html <span style='color:#111;'> 11.58KB </span>","children":null,"spread":false},{"title":"uploadLogFile.html <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"uploadLogFile.html <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"uploadLogFile.html <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"hello.html <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"hello.html <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"test.html <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"test.html <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"test.html <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"com.example.demo.html <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"hello.html <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"hello.html <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"hello.html <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"output.bin.idx <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"jersey-server.iml <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"properties.index <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"version.ini <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"spring-context-5.2.5.RELEASE.jar <span style='color:#111;'> 1.17MB </span>","children":null,"spread":false},{"title":"fastjson-1.2.83.jar <span style='color:#111;'> 655.96KB </span>","children":null,"spread":false},{"title":"tomcat-websocket.jar <span style='color:#111;'> 206.88KB </span>","children":null,"spread":false},{"title":"tomcat-util.jar <span style='color:#111;'> 102.76KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 57.53KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明