ofPath

fun ERROR CLASS: Symbol not found for MediaIo.Companion.ofPath(path: Path): ERROR CLASS: Symbol not found for MediaIoFactory

Plays the file at path. Each open reads through its own channel, so two sessions never share a position.

Plays the file at path. Each open opens the file itself and reads it by position, so two sessions never share a position. MediaItem(path) also plays a plain path, through FFmpeg's own file reader. This door is for code that wants every read to pass through Kotlin.