|
Java Swing display image stream
Tthe camera can output a stream of images into a specific IP address (depending on where we plug it).
Now, our team is aiming to write an entirely Java/Swing-based Dashboard. So far, we are successful in using sockets and connectors to open up a connection from the robot (server side) to the driver station (client side). And we've managed to pass values and strings over the network through this connection.
The problem is, we can't find a way for us to get camera code. My understanding is that we need to get the client side computer to somehow connect to the image IP address, get the image, and display it on the Swing dashboard. We have no idea how to do this (which classes to use, how to get the image, do we need external libraries for decompressing MPEG stream...etc)
Help?
|