protected override void Dispose(bool disposing) { _videoview?.StopPlayback(); _videoview?.Dispose(); _videoview = null; _controller?.Dispose(); _controller = null; _view = null; }
public void DisposeMedia() { _videoView.Pause(); //_player.Release(); _videoView.Dispose(); _videoView = null; /*_docView.RunOnUiThread(() => * { * _player.Pause(); * //_player.Release(); * //_player.Dispose(); * //_player = null; * });*/ }