I found a solution (discussed in previous posts) that works for me on:
- W10
- W11
- Processing 4.4.7
- Processing 4.4.10
Code source:
Changes made:
// Do not use:
//import javax.xml.bind.DatatypeConverter;
// Do not use:
//String data = DatatypeConverter.printBase64Binary(frameBuffer);
// Use this:
String data = Base64.getEncoder().encodeToString(frameBuffer);
Use a separate Sketchbook folder and add only the libraries required:
The other libraries are included with Processing and do not have to be added.
I encourage you and your students to read the guidelines:
The section on Asking Questions may be helpful!
I will assist you if follow the guidelines with future questions and only work with Processing 4.4.7 or the latest Processing 4.4.10.
Have fun!
:)