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

Implement MID-based signaling #72

Open daniel-abramov opened 1 year ago

daniel-abramov commented 1 year ago

See the rationale in a discussion here: https://github.com/vector-im/voip-internal/discussions/79

Since we work on a track level and the trackID is not a sustainable option, we'll have to use mid based signaling. But since mids are not unique on their own, we'll have to use a combination of mid and some participant identifier (in our case deviceID). Then we would need to group mids that belong to a stream.

Use https://github.com/matrix-org/waterfall/pull/12/files as a reference on how it might have been implemented.