187 points · by jvanveen · 4y ago · 43 comments
* Low resource requirements. You can serve lots of users off a Rasp Pi
* Single binary + JSON Config.
* Designed to be modified. Galene is API driven so you can ship your own custom UI. I co-ran a conference a while back and Galene let us give a custom experience easily. Users had no idea what we were using on the backend, and we customized it exactly to what we wanted.
* Written in Go/Easy to understand. You can get into the guts of Galene's jitter buffer etc.. pretty easily. Great for learning and understanding the software you are running.
* Maintainers are really accessible! Galene's developer runs a mailing list and you get bounce ideas of him and some other really smart people on it.
Galene appears to be less mature than Jitsi. For example, it uses REMB feedback messages from the client to calculate allowable bitrates rather than calculating the bitrates itself (as Jitsi and Signal's SFU do). Worse, it appears that what it does with that information is erroneous. I could be wrong, but it looks like the bitrate allocation code (see https://github.com/jech/galene/blob/e8fbfcb9ba532f733405b1c5...) only allocates the bitrate for one of the video streams, not all of them. Perhaps the author did not realize that there is one REMB sent back for all the video streams by WebRTC rather than one per stream (see, for example, here: https://source.chromium.org/chromium/chromium/src/+/main:thi...). Further, I find the spatial layer switching code to be strange. For examples, it doesn't go down a layer unless it's 150% over the estimated allowable bitrate, which gives a lot of opportunity for inducing latency.
In short, I think Galene has a ways to go before it works as well as Jitsi (Videobridge), and thus Pyrite group calls are unlikely to work as well as Jitsi group calls (for 1:1 calls, I don't know; I didn't look into that).
Oh, and just a reminder, the SFU we use for Signal group calls is also open source: https://github.com/signalapp/Signal-Calling-Service.
> For example, it uses REMB feedback messages from the client to calculate allowable bitrates rather than calculating the bitrates itself (as Jitsi and Signal's SFU do).
I'm not sure what you are saying. Galene listens to REMB messages and computes its own bitrate, then combines the two informations. https://github.com/jech/galene/blob/e8fbfcb9ba532f733405b1c5...
> I could be wrong, but it looks like the bitrate allocation code only allocates the bitrate for one of the video streams, not all of them
The code you point at is not the bitrate allocation code, it's the code that chooses which scalable layer to assign to a given client. The code you're looking for is here: https://github.com/jech/galene/blob/e8fbfcb9ba532f733405b1c5...
> In short, I think Galene has a ways to go before it works as well as Jitsi (Videobridge) [...] the SFU we use for Signal group calls is also open source
Jitsi VideoBridge is a great piece of software, no doubt about it. I'm sure that Signal's SFU is competently done too.
If I'm right that only one server->client video stream (called "down track" in the Galene code) is receiving the REMB message, then only one will use the REMB value and the rest will fallback to loss-based congestion control. If I'm wrong and all the server->client video streams are receiving the REMB message, then all of them will use that same value which will be higher than a calculated by the loss-based congestion control for each stream independently, so in effect they will all be falling back to loss-based congestion control (when there is more than 1 video stream; for 1 video stream it probably works fine).
Either way, it appears that each server->client video stream is independently running a loss-based congestion controller, all of which will be battling each other (like N TCP streams do). That can work, I guess, but it's better to run one congestion controller and then divide that bitrate among the various video streams, which is what I meant by "bitrate allocation".
In other words, selecting video layers to send is exactly what I mean by bitrate allocation. Sorry for being unclear about that. The code you linked to is estimating the client->server bitrate for a given video stream. What I was looking for is code that will take a bitrate (from one congestion control mechanism, whatever it may be) and then divides that between the various video streams that flow server->client by selecting which layers to forward. I couldn't find that, and now I see why: because each video stream has its own congestion controller, and they apparently compete with each other where they are likely all loss-based in practice.
Loss-based congestion control for video conferencing isn't as good as latency-based congestion control because it will cause more latency.
Thanks for pointing out what I was missing. Now that I understand it better, I can see that it would work fine for 1 video stream (when there are only 2 clients in the call), but then likely falls back to loss-based congestion control for more than 2 clients, which will work, but not as well.
If this is accurate, then I'd make a few suggestions for Galene: 1. Use one "maxBitrate" calculation per-"rtpConn" instead of per-"downTrack" and then divide that bitrate between those downTracks rather than doing N such independent calculations. This will avoid the problems from having congestion controllers competing with each other. 2. Feed the REMB value from the receiving client into the unified calculation. Then you'll get the benefit of latency-based congestion control (assuming the client is doing latency-based congestion control). 3. Switch the loss-based mechanism in the server to a latency-based system using something like transport-cc (which I think Pion supports).
True. Galene is designed to encourage small deployments: it's a single binary that is simple enough and cheap enough so that every high school can have their own instance and not rely on an external IT team.
For large deployments, where accidental complexity is not as much of an issue, you'd most probably want to use some more complex and more flexible software.
So probably a play on the name of the parent project.
(I built a one-shot template to deploy and run Jitsi on Azure - https://github.com/rcarmo/azure-ubuntu-jitsi - and it's been trivial to maintain over the past two years, for a small group of friends and monthly "open sessions")
I'm not enamored of the Pyrite UI (again, Jitsi seems simpler), but I'll keep an eye on both.
Lots of our collaborators are in developing countries with terrible internet, so we end up resorting to video chat + phone call.
That's beside of typical video/chat conferencing capabilities.
Client is pretty small ~20 Mb monolithic (a.k.a. portable) executable that can be loaded in seconds even on low bandwidth networks.
If someone is interested, here https://terrainformatica.com/2022/02/19/freeconferencecall-a... I've explained how it was done (in 9 months).
The central issue is that video conferencing software assumes face to face meetings. However if you use video conf for demonstrating anything it all goes to hell due to choppy video and compression.
If you ever extend your software to have stop start system let me know. It will spread like wild fire on developing countries
Slack seems to be trying to find a middle path with huddles.
desktop it appears to be nice, on Android the UI is barely usable, is this a desktop-only UI so far?
I do like that Teams allows for a richer chat experience, but often just keep a Teams chat and Zoom call going when needed.
- Zoom is just simply the best in terms of stability, performance, user experience, and in particular ease-of-first-use. Call quality is the best.
- Webex is a hot mess. They've been scrambling to catch up and have made stride but have a ways to go. Install is a nightmare
- google meet feels like it's barely changed in 5 years. Makes my fans take off. Decently stable at least
- Teams is decent all-around, featureful, and actually had a good SDK before Zoom, but install/userex and stability struggle at times
- is skype even a thing still?
Hands down the two biggest factors are time-until-first-use, friction, and stability of the audiovideo stream. Zoom simply dunked on the other legacy players in this regard.
Once a critical mass of users, big corporates etc. found their solution easier, then they got the network effect.