t.createElement('canvas');
            var videoCtx = videoCanvas.getContext('2d');
            var sampleRate = 24000;

            const audio = new Audio();
            var audioQueue = [];
            var isAudioPlaying = false;


            function print(message) {
                var d = document.createElement('div');
                d.textContent = message;
                outputDiv.appendChild(d);
                outputDiv.scroll(0, outputDiv.scrollHeight);
            }

            function prin