The time in seconds to wait from the start of the webrtcperf tool or the page load.
An additional time to wait calculated as participant_index / waitUtilTimeRate
.
A promise that resolves when the time is reached. Examples:
await waitUtilTime(10)
This will wait until 10 seconds have passed from the start.
await waitUtilTime(10, 2)
This will wait until 10 seconds have passed from the start, plus 2 seconds for each participant
(Participant-000000
will wait 10 seconds, Participant-000001
will wait 12 seconds,
Participant-000002
will wait 14 seconds, etc.).
Waits until the time is reached.