public void DeleteSession()
    {
        if (player == null)
        {
            return;
        }

        StreamPlayer.DeleteSession(ref player);
    }
Beispiel #2
0
    public void DeleteSession()
    {
        isInSendThread = false;
        if (player == null)
        {
            return;
        }

        StreamPlayer.DeleteSession(ref player);
    }
Beispiel #3
0
    private void OnDestroy()
    {
        CloseServer();

        if (player != null)
        {
            StreamPlayer.DeleteSession(ref player);
        }

        StreamDecoder.FreeLibrary();

        isExit = true;
    }