K
K
kirawa2014-09-03 07:49:51
Android
kirawa, 2014-09-03 07:49:51

How to transfer video from the camera?

Is it even possible to transfer video in runtime from a camera to another device via bluetooth?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2014-09-11
@DrZ0idberg

Unlikely. The media recorder API does not allow receiving data before the recording is stopped.

S
SAN4EZ7714, 2014-09-11
@SAN4EZ7714

You can get raw frames with previews. And encode them using MediaCodec.
Since version 4.1 such support is included, but it works very unstable.
And since version 4.3, it is possible to assign Surface as the source of frames, and there are already significantly fewer problems with it.
You can start exploring the topic here.
bigflake.com/mediacodec
habrahabr.ru/post/233005

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question