-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(recording): send PLIs if recording stops flowing
There are some scenarios where capture for video streams just freezes for periods of time when folks are recording themselves alone in a room. I suspect there's something wrong with KMS's nack-pli procedures in plain RTP/AVPF endpoints, but can't (and won't) confirm. This issue is hard to reproduce, though - and hard to debug without a reproducible scenario. This commit makes SFU fire a manual PLI salvo when the recording end reports a stall (up to 3 PLIs over 6 seconds after a minimum of 500 ms of stalled media). This should help, but needs to deployed and tested alongside a sanity scan to detect capture gaps proactively. The behavior is _disabled by default_. The configuration flag for this is `recordingPliOnNotFlowing`.
- Loading branch information
1 parent
8d6fd67
commit 35b428c
Showing
3 changed files
with
149 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters