On GitHub I have found this working sample of video streaming in Java.
https://github.com/mutaphore/RTSP-Client-Server/blob/master/Server.java
However its clie