StreamSourceSequenceSettings.onSourceEnded property
Fires when the engine’s currently-active source has fully drained (natural EOF or synthetic via endCurrentSource). endedPin is the pin that just ended; lastSeenPts is the last PTS (microseconds) the engine emitted from it. Feed it back as anchorPts on the destination switch’s releasePreloaded for PTS-continuous handoff (same-mode SSQ→SSQ or cross-mode SSQ→SSS).
SSQ no longer auto-advances from the declared sequence — every transition is the client’s responsibility. After onSourceEnded fires, no frames are being emitted until releasePreloaded is called.
Signature:
onSourceEnded?: (endedPin: Pins, lastSeenPts: number) => void;