server
server copied to clipboard
Initial Support for Spacebar WebRTC
please note: WebRTC was ONLY tested using a test client that was since deleted by spacebar owners, no other clients were tested, nor bot libraries were either (discord.js didn't work for me since it always requires a https connection)
NOTE: This PR DOES NOT add Screen sharing, but adds webcam support and voice ~~BREAKING CHANGES: Windows can no longer be supported after this PR is merged, because medooze-media-server doesn't support windows~~ WebRTC can now be disabled with a env var to continue support for Windows
Known bugs:
- Muting, unmuting, deafening, and undeafening makes the voice call reconnect for unknown reason.
- Defend does not work on test client because of the reconnect bug.
- Video support can be buggy, requiring both cameras on to fully work (why?)
- You tell me what other issues there are: this has been a worked on thing by Me, @MaddyUnderStars & was initially created by @SamuelScheit
*deafen, rather than defend
if there isn't already, there should be a way to disable webrtc from loading, because I use windows for development, and I am not switching anytime soon. either config, or at the very least an environment variable
Worst case you could use WSL I guess? But yeah, this is probably important, even if Windows remains a minimally supported OS.
if there isn't already, there should be a way to disable webrtc from loading, because I use windows for development, and I am not switching anytime soon. either config, or at the very least an environment variable
Added but it needs testing directly on Windows, which I don't have, I have Linux.
Worst case you could use WSL I guess? But yeah, this is probably important, even if Windows remains a minimally supported OS.
No. WSL Is NOT a option, WSL requires Hyper-v which is garbage in general,, slow, etc... WSL is more like emulation than a layer like WineHQ
what? Wine is a stdlib overlay + bincompat layer, WSL is a full on vm (and it isnt slow either)
Marked as ready since its possible to disable webrtc