File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -496,6 +496,13 @@ export interface IStartClientOpts {
496
496
/**
497
497
* The maximum amount of time to wait before timing out the `POST /_matrix/client/v1/delayed_events/{delay_id}` with `action = "restart"` requests.
498
498
* If not specified, the default `localTimeoutMs` will be used.
499
+ *
500
+ * This setting is used in the context of MatrixRTC. We need to restart the dealyed events to make sure
501
+ * the HomeServer is sending the delayed rtc leave event. In bad network environments we might end up
502
+ * waiting for too long for the event to arrive and we will not send another restart event until the local timeout is reached.
503
+ *
504
+ * In those scenarios chances for success are higher if we use a lower local timeout to increase the tries we do instead of waiting
505
+ * for responses on requests which are stuck.
499
506
*/
500
507
delayedEventRestartLocalTimeoutMS ?: number ;
501
508
You can’t perform that action at this time.
0 commit comments