diff --git a/static/index.html b/static/index.html index 6f92343..18067a4 100644 --- a/static/index.html +++ b/static/index.html @@ -43,6 +43,7 @@ +
Delta Value: -- ms (-- frames)
diff --git a/static/script.js b/static/script.js index 3871c73..d489585 100644 --- a/static/script.js +++ b/static/script.js @@ -18,6 +18,7 @@ document.addEventListener('DOMContentLoaded', () => { syncStatus: document.getElementById('sync-status'), deltaStatus: document.getElementById('delta-status'), jitterStatus: document.getElementById('jitter-status'), + deltaText: document.getElementById('delta-text'), interfaces: document.getElementById('interfaces'), logs: document.getElementById('logs'), }; @@ -134,8 +135,10 @@ document.addEventListener('DOMContentLoaded', () => { deltaCategory = 'bad'; } const deltaIconInfo = iconMap.deltaStatus[deltaCategory]; - const deltaText = `${data.timecode_delta_ms} ms (${data.timecode_delta_frames} frames)`; - statusElements.deltaStatus.innerHTML = `