Can "piping server" be used as a websocket alternative?
kelvin2200 opened this issue · 1 comments
kelvin2200 commented
Let me start by saying I really like your project and the approach.
I was wondering if this idea could be used as a websocket alternative and how would one do that?
nwtgck commented
Thanks.
It depends on the future of Web browser. As you know, Piping Server has the streaming feature over HTTP. But unfortunately most of browsers does not streams data over HTTP. Only Chrome 85 and later has experimetally the feature.
See the article below which explains streaming of text and video over Piping Server. In addition, Piping SSH and Piping VNC in the article replaced WebSocket in original projects with pure HTTP.
https://dev.to/nwtgck/the-power-of-pure-http-screen-share-real-time-messaging-ssh-and-vnc-5ghc
Repositories:
- simple examples: https://github.com/nwtgck/piping-server-streaming-upload-htmls
- SSH over Piping Server: https://github.com/nwtgck/piping-ssh-web
- VNC over Piping Server: https://github.com/nwtgck/piping-vnc-web