Question

I'm trying to play a remote video (.mp4) from my server in a VideoView. All works fine on my HTC One S (4.1.1) but as soon as I try it on a Android 2.x device i'm getting a message that the video can not be played, in LogCat is see Error 1, -1004. I also sees Couldn't open file on client side, trying server side.

Off course i Google the error en found out has something to do with not being able to read the file. I've made sure i have INTERNET permission set in my manifest, I also know the file is available for it works on my One S. So my only option is the codec which cannot be read by a earlier Android device. So I tried converting it with Adobe Media Encoder, I've converted it to a bunch of different settings including 3GPP but no success.

Does anybody have any experience with converting video files for Android and making it work on Android 2.x?

Cheers Daan

Was it helpful?

Solution

The doc says Android Started Support for Live Streaming from Android 3.0 Refer this : http://www.longtailvideo.com/blog/31646/the-pain-of-live-streaming-on-android/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top