MediaSFU Shared
    Preparing search index...

    Function reapplyLocalPlayback

    • Re-assert every local playback choice.

      Call this whenever media changes — onMediaChanged is the natural place. The SDK layout pass resumes consumers it believes should be visible, which would otherwise silently undo "do not play this person to me" the moment the active speaker changes. Without this the feature appears to work and then quietly stops working, which is worse than not having it.

      A no-op when nothing is locally paused.

      Parameters

      Returns Promise<{ ok: boolean; error: string; affected: number }>