2023-02-23

Avalonia / LibVLCsharp support for iOS, Android and WASM

I'm planning to create a cross platform (Windows, Linux, macOS, Android, iOS, Wasm) audio player using latest AvaloniaUI along with LibVLCSharp. Unfortunately only support for Windows, Linux and macOS is listed for Avalonia.

I think that this might be a lack of documentation only, since Avalonia pretty recently introduced Android and iOS support officially.

So how is the state of this? Would it be possible to create a REAL cross platform player for all the listed platforms with LibVLCSharp? And if not, is there an alternative, that could be used with AvaloniaUI?

I found these libs for C#, that are (partially) capable of playing audio:

  • LibVLCSharp (unmanaged/wrapper, cross platform including Android + iOS)
  • SharpAudio (mostly managed, cross platform, but poor codec support atm)
  • cscore (unmanaged/wrapper, well designed, development stalled)
  • libsoundio-sharp (unmanaged, pretty raw)
  • ManagedBass (unmanaged/wrapper for BASS, awesome but only free for open source)
  • NAudio (awesome managed library, but windows only atm, although efforts to evolve to cross platform)


No comments:

Post a Comment