publish video on same event loop as websocket

This commit is contained in:
Sem van der Hoeven
2023-05-31 21:35:55 +02:00
parent 3d5b593941
commit 05abff6c67
3 changed files with 7 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ var connect_to_api = function () {
console.log("got image");
}
} catch (error) {
console.log("could not parse as json, must be bytes");
// console.log("could not parse as json, must be bytes");
send_image_data_to_clients(message);
}
});