play the video content in Android without having uri and path to file

北城余情 提交于 2019-12-12 03:35:24

问题


I have a video file. i open the file and reading it. how can i play that file in android by direct pushing the content. i can not give the file path or path URI.

we can assume that i am getting the video content by some protocol. that guy has opened the file and sending me the content in form of chunks. now i need to play those chunks.

as i dont have path and URI. how can i push the data to Android player.

i heared there is some way like we can store the data in some buf and than make that buf to URI by some way and can play.

来源:https://stackoverflow.com/questions/15135082/play-the-video-content-in-android-without-having-uri-and-path-to-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!