Example #1
0
 /// <summary>
 /// 关闭并删除一个Session
 /// </summary>
 /// <param name="session"></param>
 public static void DeleteSession(ref StreamPlayer session)
 {
     session.DestructorStreamPlayer();
     Native.Invoke <StreamDecoder.DeleteSession>(StreamDecoder.streamDecoder_dll, session.session);
     session.session = IntPtr.Zero;
     session         = null;
 }