5 ms·
It is using a WebRTC Data Channel. You can send binary/text data over the same connection that is receiving the media. The other exciting thing about Data Chan
by Sean-Der 5y ago
It is using a WebRTC Data Channel. You can send binary/text data over the same connection that is receiving the media.
The other exciting thing about Data Channels is that you can send lossy/unordered messages and get flow control. You can know how much data you can send and how fast. You can build faster and more responsive data APIs that way!
- jcun4128 5y agoWhat I'm saying is from the gif (repo README) you see this localhost web thing. I'm aware you can screenshare say from Chrome and show a tab or your whole desktop. In this way you have mouse control/people would just watch your screen. I'm not clear on how they're clicking into that shared browser (to use YouTube). Normally for this kind of thing you need an OS-level component. There's something on the GO side but trying to find the bridge on Vue side https://github.com/m1k1o/neko/blob/master/server/internal/websocket/control.go#L88 https://github.com/m1k1o/neko/blob/master/server/internal/we... idk maybe somewhere in here https://github.com/m1k1o/neko/blob/master/client/src/components/controls.vue#L252 https://github.com/m1k1o/neko/blob/master/client/src/compone... I had to deal with this problem too with regard to remote control somehow without installing an OS-level app but that didn't happen went a different route. Idk this is a cool project, looks like it is possible to do remote control with webrtc. And webrtc as said above can replace websocket for data transfer. https://github.com/maxogden/screencat https://github.com/maxogden/screencat ehh then again: > On the host side the app must synthesize mouse and keyboard events on the host OS. This is the tricky part, and the only part where a custom native node addon (C++) is required. Yet another cool project robotjs hmm
- funnyflamigo 5y agoIt's in a container with xorg running. It doesn't need kernel level access but it does need userland access which it does have access to in the container.
- jcun4128 5y ago> UserLAnd Hmm that's cool I was not aware of this thing, not surprising but still cool to find out now.