matrix-org / waterfall

A cascading stream forwarding unit for scalable, distributed voice and video conferencing over Matrix
Apache License 2.0
97 stars 5 forks source link

Add support for basic focus selection algorithm #37

Closed SimonBrandner closed 1 year ago

SimonBrandner commented 1 year ago

As a temporary way of discovering SFUs, we intend to add a field to m.call state events called something like im.vector.focus which contains the matrix ID of an SFU to use for this call. A client can, in turn, get this from the .well-known of the homeserver or possibly something like /turnServer (this part we'll probably want in the long term design so this part probably wants to go in an MSC).

dbkr commented 1 year ago

Wait, shouldn't the event just be m.foci from the MSC?

SimonBrandner commented 1 year ago

Wait, shouldn't the event just be m.foci from the MSC?

Because we won't support an array of foci but I guess we could just for now mandate an array of length 1

dbkr commented 1 year ago

Oh, I see - yeah, I think that's fine, and makes compatibility much easier

SimonBrandner commented 1 year ago

We have this now