private void VlcMediaPlayer_EncounteredError(object sender, Vlc.DotNet.Core.VlcMediaPlayerEncounteredErrorEventArgs e) { if (_snapshotRecording || _videoRecording) { ThreadPool.QueueUserWorkItem(new WaitCallback(ThreadAutoRestartPlaying)); } }
private void Player_EncounteredError(object sender, Vlc.DotNet.Core.VlcMediaPlayerEncounteredErrorEventArgs e) { Logger.Error("播放失败:{0}", FileName); }