Error In Opening Streaming Video
I'm trying to open video stream by giving the url of the video. I'm using VideoView.Here is my code: public class MainActivity extends Activity { @Override public void on
Solution 1:
First check that you have added INTERNET permission in your manifest.
Next check that what is the extension of your video format.
This link shows what files Android phones and tablets support, with both codec and filename extension information provided. However, an Android application can use media codecs either provided by any Android-powered device, or additional media codecs developed by third-party companies. Therefore, if you want to play videos on Android, find a multi-format video player or convert videos to Android compatible formats.
See this Android Supported Media Formats link.
Solution 2:
Change your URL from :
http://172.16.154.106:8080
To :
http://172.16.154.106:8080/
If android device supports this format than it will be ok.
Post a Comment for "Error In Opening Streaming Video"