Video camera capture/streaming: example implementation
If anyone is interested I have put together a very simple video capture app using LTI-CIVIL (an open source video streaming library for Java) and using JavaFX. This is a more complete/useful example of some code I posted months ago doing something similar.
Performance and reliability seems to be reasonable but I have not tested heavily.
The code (ANT build included) can be found at: http://code.google.com/p/jfxcamera/source/browse/trunk/
The code is simple (one class only) and intended to be demonstration so you can copy/paste and hack at to get it into your own project if you want. Note that the LTI-CIVIL project is nothing to do with me, I've just integrated it. If you find this at all useful thank whoever made LTI-CIVIL - my effort was trivial.
According to the website LTI-CIVIL supports the big 3 OS's but I have only tested it on Windows (only runs on a 32 bit windows JVM, there is no 64bit version of LTI-CIVIL). The code should be the same however.
http://lti-civil.org/
I realise this is hardly the full/proper support for media capture that this request is asking for but if you're really needing something while the JFX guys are working on a more integrated solution, this could be your answer.
Questions/problems: reply to this thread and I will try and answer.