public void DeleteSession() { if (player == null) { return; } StreamPlayer.DeleteSession(ref player); }
public void DeleteSession() { isInSendThread = false; if (player == null) { return; } StreamPlayer.DeleteSession(ref player); }
private void OnDestroy() { CloseServer(); if (player != null) { StreamPlayer.DeleteSession(ref player); } StreamDecoder.FreeLibrary(); isExit = true; }