예제 #1
0
        protected override void Dispose(bool disposing)
        {
            _videoview?.StopPlayback();
            _videoview?.Dispose();
            _videoview = null;

            _controller?.Dispose();
            _controller = null;

            _view = null;
        }
예제 #2
0
        public void DisposeMedia()
        {
            _videoView.Pause();
            //_player.Release();
            _videoView.Dispose();
            _videoView = null;

            /*_docView.RunOnUiThread(() =>
             * {
             *  _player.Pause();
             *  //_player.Release();
             *  //_player.Dispose();
             *  //_player = null;
             * });*/
        }