Merge API branch into main #12

Merged
SemvdH merged 334 commits from api into main 2023-06-13 19:54:43 +00:00
Showing only changes of commit 0a70283df0 - Show all commits

View File

@@ -82,21 +82,9 @@
console.log("OPENED EVENT");
}
// events.onmessage = (event) => {
// // console.log("MESSAGE RECEIVED");
// const eventData = JSON.parse(event.data);
// // Check if the event contains image data
// if (eventData.image) {
// const base64Data = eventData.image;
// // Get the <img> element
// const imgElement = document.getElementById('result-video');
// // Decode the base64 image and set it as the source of the <img> element
// decodeBase64Image(base64Data, imgElement);
// }
// }
events.onmessage = (event) => {
console.log("Got data:" + event.data);
}
};
function assign_button_callbacks() {