Mediaplayer is a namespace but is used like a type
Noticed this on iOS and Mac targets only.
I have to use LibVLCSharp.Shared.MediaPlayer
, only for iOS/Mac, instead of just MediaPlayer
.
Usually this is caused by having a wrong namespace (i.e. namespace MediaPlayer
) though that is not the case here and it's pretty annoying.