Stream video to web in android

孤街醉人 提交于 2019-12-04 14:00:58

问题


I want to make an android app which can stream video to the web. I know how to record a video in android but don't know how to stream it to the web. I don't want to store this video to the sd card of the phone but I want it to be stored on the web. For that purpose I am planning to use asp.net web service.


回答1:


I used onPreviewFrame method of the Camera to achieve this. I just send the byte[] to the server and convert this data to a valid video/image format on the server. For the server, I used gstreamer.



来源:https://stackoverflow.com/questions/5065334/stream-video-to-web-in-android

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