feat(sync): implement dedicated presentation and presenter refresh loops
- Added background API refresh loops for room-level presentation and presenter metadata.\n- Updated Sync Monitor UI to display all six loop intervals.\n- Added UI controls in Launcher Config for fine-tuning polling periods.\n- Staggered initial background fetches to prevent API connection flooding.\n- Corrected timer assignments to separate structural metadata from room content.
This commit is contained in:
@@ -79,6 +79,32 @@
|
|||||||
class="input input-sm text-[10px] h-7 preset-tonal-surface"
|
class="input input-sm text-[10px] h-7 preset-tonal-surface"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex flex-col gap-1">
|
||||||
|
<span class="text-[8px] opacity-60"
|
||||||
|
>Presentation Loop</span
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="number"
|
||||||
|
bind:value={
|
||||||
|
$ae_loc.native_device
|
||||||
|
.check_event_presentation_loop_period
|
||||||
|
}
|
||||||
|
class="input input-sm text-[10px] h-7 preset-tonal-surface"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-col gap-1">
|
||||||
|
<span class="text-[8px] opacity-60"
|
||||||
|
>Presenter Loop</span
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="number"
|
||||||
|
bind:value={
|
||||||
|
$ae_loc.native_device
|
||||||
|
.check_event_presenter_loop_period
|
||||||
|
}
|
||||||
|
class="input input-sm text-[10px] h-7 preset-tonal-surface"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -449,6 +449,18 @@
|
|||||||
>
|
>
|
||||||
<span>{loop_info.session / 1000}s</span>
|
<span>{loop_info.session / 1000}s</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex justify-between items-center">
|
||||||
|
<span class:text-primary-500={timer__presentation}
|
||||||
|
>Pres Loop:</span
|
||||||
|
>
|
||||||
|
<span>{loop_info.presentation / 1000}s</span>
|
||||||
|
</div>
|
||||||
|
<div class="flex justify-between items-center">
|
||||||
|
<span class:text-primary-500={timer__presenter}
|
||||||
|
>Speaker Loop:</span
|
||||||
|
>
|
||||||
|
<span>{loop_info.presenter / 1000}s</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user