~/talk

Manage a Group Activity Session with a Deterministic Finite State Machine

Talkat 360iDev 2022 · 2022-08-28..08-31· [frontend-architecture]
links:none on file
slides:none on file

Claims that a deterministic finite state machine reliably manages Apple Group Activities / SharePlay sessions by separating flow from operations and encoding all transitions in a state table. Uses GroupActivities API: activity types, prepareForActivation vs activate, group session messenger with reliable/unreliable messages (64k → 256k in iOS16), participant join/leave events, and activation pop‑up quirks that can disrupt shared flows. Implements transitions as events-only returns, logs every transition; demo mostly works but table size and iOS16 audio restrictions are real limits.

AI-written summary · about

  1. 0:00Welcome
  2. 1:08Introduction
  3. 2:12Group Activities API
  4. 7:01Setting up API
  5. 13:25API quirks
  6. 16:56Why a deterministic finite state machine
  7. 19:37State transition diagram
  8. 23:30Implementing FSM core
  9. 26:25Advantages of the state machine approach
  10. 26:47Live demo & UI
  11. 30:57Concluding remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.