[guardian-dev] CipherCam FPS Bug and Potential Solution

Nathan of Guardian nathan at guardianproject.info
Tue Mar 31 12:21:54 EDT 2015



On Tue, Mar 31, 2015, at 10:24 AM, Nathan of Guardian wrote:
> > A potential solution would be to set up a temporary onPreviewFrame
> > callback when the camera is first initialized to detect the FPS the
> > phone is capable of recording, then passing it to the Muxer constructor
> > in place of the 'timescale' variable.
> 

I've pushed the changes here:
https://github.com/n8fr8/IOCipherCameraExample/commit/6c00738f8e3e0a462a2ebdd4a02b0343e4dc70dd

FPS is estimated now before the recording begins, and is passed to the
Encoder() arg.

+n


More information about the guardian-dev mailing list