I am experimenting with OpenCV on Android. I have seen a lot of online material that utilise VideoCapture to read an rtsp stream.
In all Java examples that I found, the VideoCapture constructor takes a String. However the official javadoc pages (http://docs.opencv.org/java/2.4.11/) only says that an int can be passed to the constructor which is the camera id.
If you have a look at the following stackoverflow thread (OpenCV IP Camera RTSP stream) you notice that an URL is passed to the constructor.
What am I missing?