- Forum posts: 4
May 2, 2014, 9:12:19 AM via Website
May 2, 2014 9:12:19 AM via Website
hi,
I split the full screen into two video view to stream two different URI on respective video view,but the video URI loads one URI in two video views.
Below both vv_left and vv_right streams the first uri(“xxx.xxx.xx.xxx:1234&rdquo
private void generateUI(){
....
....
loadUri(vv_left,"xxx.xxx.xx.xxx:1234";
loadUri(vv_right,"xxx.xxx.xx.xxx:2345";
....
}
private void loadUri(VideoView vv,String url){
Uri uri= Uri.parse(url);
vv.setVideoURI(uri);
vv.requestFocus();
vv.start();
}