Camerakit-android: Can't record videos longer than 14 seconds

Created on 11 Apr 2017  路  3Comments  路  Source: CameraKit/camerakit-android

I've implemented CameraKit in my app and works great, the only problem I had was while recording videos of 30 seconds, more or less, the output video file lasts between 11 and 14 seconds. Any idea why? Sorry for any mistakes in my english.

Thanks in advance.

Most helpful comment

Are you using the latest version? No limitations are set on the mediarecorder anymore.

Latest is 0.9.17

All 3 comments

This is because

initMediaRecorder() in Camera1.java sets a max file size of 50000 bytes. I'm not sure why it's there, I just removed it.

Are you using the latest version? No limitations are set on the mediarecorder anymore.

Latest is 0.9.17

Thanks for replying! I was using an older version, 0.9.15. Now it records without limitations as @dwillmc said.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shoomkloom picture shoomkloom  路  3Comments

MuhammedRefaat picture MuhammedRefaat  路  3Comments

shaik41 picture shaik41  路  7Comments

bpappin picture bpappin  路  5Comments

akiller picture akiller  路  6Comments