// Connect to audio renderer
                        sourceBufferAudioWorklet.connect(audioCtx.destination);

                        systemAudioLatencyMs = (audioCtx.outputLatency + audioCtx.baseLatency) * 1000;
                        console.debug('Audio system latency (ms): ' + systemAudioLatencyMs);

                        return resolve(null);
                    });
            }
            else {
                return resolve(null);
            }
        });
    }
    
    function playerUpdateJi