- 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();
}
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.