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

Create the sound implementation of the rtp subscription watchdog #92

Closed daniel-abramov closed 1 year ago

daniel-abramov commented 1 year ago

We must monitor the RTP packets on subscriptions and print an error if the subscription does not receive any RTP packets for a long time.

This has 2 purposes:

  1. We'll be able to see when the subscription is "stalled" which would explain freezes (in case the freeze occurs, we'll know why).
  2. We can use this information to switch simulcast layers on the SFU if we detect that one or another layer is not available, i.e. if a high level is used and becomes unavailable.