Yokan / rebuild
Course 1 8624561

README.yokan.md

vendor/compose-mediaplayer/README.yokan.md

documentation / design asset9 lines
1# Yokan compatibility player fork23Based on [ComposeMediaPlayer v0.7.11](https://github.com/kdroidFilter/ComposeMediaPlayer/tree/v0.7.11), under the included MIT license. Sources are retained in their upstream layout. The local Gradle module uses Yokan's toolchain and dependency versions; playback behavior remains based on the pinned release.45Local changes add an awaited, retryable disposal contract and explicit browser video ownership. Yokan uses the awaited contract after its surface work and platform view disposal finish. Legacy immediate `dispose()` remains supported. Native backends join their worker scopes before releasing players; Linux bus/frame UI publications use owned work and cannot dispatch after disposal; iOS metadata extraction and queued UI work use an owned scope, and macOS retains allocated pointers before cancellation can discard the result. Browser bindings remove listeners and source attributes immediately, then join PiP requests and `AudioContext.close()` promises. Failed source initialization still retains its audio context for cleanup.67Desktop native libraries are copied unchanged from the published `io.github.kdroidfilter:composemediaplayer-jvm:0.7.11` artifact (SHA-256: 2c305638867ba55c949418a47c3e86e752a78bbf3b78884df69856af95badb68). They retain the upstream platform layout; this fork does not rebuild or modify native binaries.89The small toolchain compatibility adjustments use `kotlin.time.Clock` with Yokan's datetime version and read browser files through FileKit 0.16's `WebFile` wrapper. Imported source whitespace is normalized; upstream build/publishing/sample projects are omitted.10

Search chapters, reference and source filenames.