= null;
        if (audioSharedBuffer != null) {
            audioSharedBuffer.Clear();
            audioSharedBuffer = null;
        }

        playerClearTimingInfo();

        playerClearBufferInfo();

        currentVideoSize.width = -1;
        currentVideoSize.height = -1;

        videoPlayerCtx = null;

        playerClearJitterBuffers();
        playerClearLatencyChecker();
        playerClearVideoRendererBuffer();
    }

    async function initFromQS() {
        const qsHost = qsParams.get('host')