3 ms·
Could WebRTC be used instead of websockets? Then you wouldn’t need a server (apart from a public STUN/TURN endpoint)
by diroussel 4y ago
Could WebRTC be used instead of websockets? Then you wouldn’t need a server (apart from a public STUN/TURN endpoint)
- aar9 4y agoHaven't tried with this specific project, but Yjs has a WebrtcProvider [0] which could be used where the project now uses WebsocketProvider [1]. Yjs is built to allow you to switch easily between providers so it shouldn't be too much trouble to make the change. [0] https://github.com/yjs/y-webrtc https://github.com/yjs/y-webrtc [1] https://github.com/felipeleivav/yboard/blob/main/src/services/YjsService.js https://github.com/felipeleivav/yboard/blob/main/src/service...
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]