Quote:
Originally Posted by raystubbs
Are you using VideoView? What I've tried is:
Code:
video = (VideoView)findViewById(R.id.video);
// Set uriString to "rtsp://10.xx.yy.11/axis-media/media.3gp"
String uriString = "rtsp://" + "10." + Integer.toString((addr & 0xff0000)>>16) //"rtsp://10.xx.yy.11/axis-media/media.3gp"
+"."+ Integer.toString((addr & 0xff00)>>8) + ".11/" + "axis-media/media.3gp";
video.setVideoURI(Uri.parse(uriString));
video.requestFocus();
video.start();
Nothing happens for a while, but then a dialog comes up and says that it can't play the video.
|
I'm actually trying to load the image that the Axis Camera saves at image.jpg and set it as the background at about 30 fps