Skip to content

ios: play within one engine round trip of a pause can have its intent cleared by the pause report #708

Closed

Description

@timusus

In IosPlayerController (shared/src/commonMain/.../playback/IosPlayerController.kt, pauseNow / onStateChanged), a play that arrives after a pause but before the engine's paused report lands has its play intent cleared by that report while the engine's audio has already started. Expected: the paused report for the earlier pause is recognised as stale once a newer play has been issued.

Pre-existing race (window is one engine round trip, milliseconds). After the #696 landing the UI shows Paused as soon as the pause is sent, so a quick toggle can now reach it. Seen in review only, not reproduced on a device (unverified).

Related: #694, #707.

Activity

  1. timusus commented on Oct 4, 2026

    @timusus
    OwnerAuthor

    Landed in ff0d8ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions