hii Anyone plz help me to stream videos from an url and then i want to save the video to sdcard.
thanks revathys
hii Anyone plz help me to stream videos from an url and then i want to save the video to sdcard.
thanks revathys
For video streaming take a look at the following example/projects:
Audio and Video on Android- Official Documentation
Vidtry an Open Source Project by Mark Murphy
Video Streaming Example by Davanum(this might be out of date)
Saving to SDcard: I am not very sure, but once you have the video stream(abstracted as InputStream) in your code you should be able to save it on SD card using normal File I/O operations.
Be careful when you prepare your videos for streaming. The documentation on the MediaPlayer class says it is accepting video streaming over HTTP only if the following 2 conditions are true:
While the first condition is quite straightforward, about the 2nd one I couldn't find a definitive answer on what does it mean for a clip to be "reasonably interleaved".