Android Rtsp Streaming with multiple video view

  • Replies:2
gulam
  • Forum posts: 4

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”)

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();
}

Reply
Mary Mod
  • Forum posts: 432

May 2, 2014, 11:37:23 AM via Website

Hi gulam,

You posted in the "AndroidPIT Support: other (AndroidPIT website or app related)" thread. But can you please be more specific with your question as I do not think it's related to our website or app. Is this a question for app developers?

Reply
gulam
  • Forum posts: 4

May 2, 2014, 1:50:15 PM via Website

yes,this question for app developers,

I created two video view in one android activity screen to load rtsp streaming on both video views with different uri, but my application play first uri in both video views

Karthick Ramu

Reply