Skip to content

Commit

Permalink
Adding logging
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Feb 18, 2024
1 parent a53e895 commit cfd6b30
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions server/templates/recall.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,15 @@
document.getElementById("website_stream_endpoint").value = recallResponseJson.websiteStream;
// $("#tableStatus").append("<tr><td><p class='subtitle'>Website status</p><p id='website_status'></p><br></td></tr>");
}
console.log(recallResponseJson.streams);
for (let i = 0; i < recallResponseJson.streams; i++) {
let j = i + 1;
if (j !== 1) {
if (i !== 0) {
addStream();
}
let recalledStreamOutput = recallResponseJson.streams[i]
document.getElementById("stream_server_" + j).value = recalledStreamOutput.streamServer;
let recalledStreamOutput = recallResponseJson.streams[i];
console.log(i);
console.log(recalledStreamOutput);
document.getElementById("stream_server_" + i).value = recalledStreamOutput.streamServer;
document.getElementById("stream_key_" + i).value = recalledStreamOutput.streamKey;
}
// let streams = dataPart[4].split("±");
Expand Down

0 comments on commit cfd6b30

Please sign in to comment.