If you only need H.264/AAC/MP4, stick with ExoPlayer/Media3 – it’s smaller and better integrated with KMP. Would you like a minimal working KMP project example that integrates libvlcjni for ARM64-v8a?
actual class MediaPlayer actual constructor() private lateinit var libVlc: LibVLC private lateinit var mediaPlayer: MediaPlayer init val args = arrayListOf("-vvv") libVlc = LibVLC(args) mediaPlayer = MediaPlayer(libVlc) kmp external codec libvlcjni so cpu arm64 v8a
expect class MediaPlayer fun play(url: String) fun pause() If you only need H
: