开发者

Working with Android camera

开发者 https://www.devze.com 2023-03-31 17:13 出处:网络
I\'m new to Android and I\'ve started worki开发者_JAVA技巧ng on video streaming app (from device to pc).

I'm new to Android and I've started worki开发者_JAVA技巧ng on video streaming app (from device to pc). According to what I seen so far, what is better: 1. Using the camera callbacks + encoding to jpeg 2. Using the MediaRecorder (i.e H264 or something else) - I've seen that there are many problems with this API.

tnks


I was working on the video streaming app and we tried both approaches - note that this was 2-3 years ago.

Option 1. is probably too slow to achieve good rates, we managed around 8-12 fps. Note that this was two years ago and phones were significantly slower.

Option 2. We choose this approach on Androd, it's doable, but there are issues with certain phones.

0

精彩评论

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