Cap delay at 60 seconds

This commit is contained in:
zontreck 2023-12-18 19:00:36 -07:00
parent 1c866e304e
commit a027393534

View file

@ -57,6 +57,7 @@ public class RTP
protected RTP withThreadDelay(int delay) protected RTP withThreadDelay(int delay)
{ {
lastThreadDelay=delay; lastThreadDelay=delay;
if(lastThreadDelay >= 60) lastThreadDelay = 60;
return this; return this;
} }