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