开发者

Capture video on android NO RECORDING

I've been reading the android api for capture video and reading some code and I haven't been able to found开发者_开发百科 a method that give me the frame captured and then work with it, for example send it across wifi or something like that. There is a feature, on android, that allow me capture the frame but no record it in a file?

Thanks.


I Have 2 solutions. First one is use the MediaRecorder object and in the setOutputFile() function, pass as parameter a socket descriptor, this way permits read the data from a socket. The second one is use a preview callback and intercept the frame with onPreviewFrame() function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜