Quote:
Originally Posted by dmaciel10123
Sure. Give me a few minutes so I can get my hands on a computer. I've been using my phone all day.
Edit: wow okay whoops. I dun goofed. Just tried opening it with the code I added and it crashed immediately. I'll keep working on it.
|
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.