Im trying to find a solution to sending my rendered frames over tcp. Best case would be to generate a video stream which I could open with VLC. I tried to find some working examples to use mjpeg, but so far I only found decoders, not encoders.
When using the processing IDE I can simply overwrite public void stop() to catch an event when the processing application is closed. When I try the same in eclipse it's simply not called. I tried overwriting PApplet.stop() aswell as (java)Applet.destroy(), but no luck. The inheritance looks like myApp < PApplet < java.applet.Applet -- from my understanding either way should have worked :/