private void OnDestroy() { applicationIsQuit = true; DeleteSession(); //释放动态库 StreamDecoder.FreeLibrary(); }
private void OnDestroy() { isExit = true; DeleteSession(); //释放动态库 StreamDecoder.FreeLibrary(); }
private void OnDestroy() { CloseServer(); if (player != null) { StreamPlayer.DeleteSession(ref player); } StreamDecoder.FreeLibrary(); isExit = true; }