Apply the SyncPlay resume delay floor in the correct unit

This commit is contained in:
fmarcac
2026-09-05 14:20:26 +02:00
parent c80f05fad1
commit 0c05d9d1a9
2 changed files with 110 additions and 1 deletions
@@ -501,7 +501,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates
{
// Client, that was buffering, resumed playback but did not update others in time.
delayTicks = context.GetHighestPing() * 2 * TimeSpan.TicksPerMillisecond;
delayTicks = Math.Max(delayTicks, context.DefaultPing);
delayTicks = Math.Max(delayTicks, TimeSpan.FromMilliseconds(context.DefaultPing).Ticks);
context.LastActivity = currentTime.AddTicks(delayTicks);