问题
use LibVLCSharp in my project cause the video pixeled and grey screen
I tried to add file-caching=1500 to media player with no success and you can see my code below
this.VideoPath = extras.GetString(INTENT_KEY_PARAM_VIDEO_PATH);
Core.Initialize();
_libVLC = new LibVLC();
_mediaPlayer = new MediaPlayer(_libVLC);
_videoView.MediaPlayer = _mediaPlayer;
var mediaUri = Android.Net.Uri.Parse(this.VideoPath);
var m = new Media(_libVLC, mediaUri.ToString(), FromType.FromPath);
var configuration = new MediaConfiguration();
configuration.EnableHardwareDecoding();
m.AddOption(":fullscreen");
m.AddOption(":codec=avcodec");
m.AddOption(configuration);
m.AddOption(":file-caching=1500");
_mediaPlayer.Media = m;
_videoView.MediaPlayer.Play(m);
来源:https://stackoverflow.com/questions/55357741/using-vlc-player-in-xamarin-android-project