Beispiel #1
0
        public void Dispose()
        {
            platformPlayer.Stop();
            platformPlayer.Unprepare();
            platformPlayer.Dispose();

            platformDrmMgr.Close();
            platformDrmMgr.Dispose();

            juvoPlayer.Stop();
            juvoPlayer.Dispose();
        }
 internal void Terminate()
 {
     try
     {
         player.Unprepare();
         if (drm != null)
         {
             drm.Close();
         }
     }
     catch (InvalidOperationException)
     { }
     finally
     {
         if (drm != null)
         {
             drm.Dispose();
         }
         player.Dispose();
     }
 }