Re: How to use RTSP video streaming in Android

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: How to use RTSP video streaming in Android

Himanshu Pandey
sangram is absolutely correct . All that we have to do is pass the RSTP url to aur Videoview .
Write this inside the Oncreate function :

MediaController mcont = new MediaController(this);
videoView.setMediaController(mcont);
                videoView
.setVideoURI(Uri
.parse("RSTP_URL_GOES_HERE"));

videoView.requestFocus();

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/mJX1ysrwEUwJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.