java - Play media (video) from a network stream(http) directly -
i play media (video) network stream(http) directly, hence have somehow feed android mediaplayer data. i have fileoutputstream outstream = new fileoutputstream(outputfile); write outputfile outstream.write(buffer, 0, count); is there api takes stream input....???.... please help... android supports progressive download , http live streaming(only in 3.0) , both of these work on http. you can use videoview or mediaplayer leverage progressive downloading , play videos: see this discussion. also, if server, delivers segmented files(.ts) in conformance apple's http live streaming ietf draft , can directly supply url mediaplayer , play video using surfaceview . note: have replace "http" "httplive:" in url.