libvlcsharp

Xamarin Forms - libvlcsharp fullscreen mode

余生颓废 提交于 2019-12-25 01:45:02
问题 Is there way to play video in fullscreen mode in Xamarin Forms with library - libvlcsharp ? I'm connecting to ip camera, the view is fine but not in fullscreen. I made code for double tap detection and now I'm looking for method to do it in fullscreen by this library 回答1: Install LibVLCSharp.Forms 3.1.1-alpha, it contains a media player element with built-in support for multiple aspect ratios. Will be released in LibVLCSharp.Forms stable soon. 来源: https://stackoverflow.com/questions/57346774

Using vlc player in xamarin.android project

主宰稳场 提交于 2019-12-11 15:58:13
问题 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