Closed GoogleCodeExporter closed 9 years ago
There is no exception in the log.
Do you have same issue with IMSDroid (without modifications)?
Original comment by boss...@yahoo.fr
on 27 Feb 2012 at 10:46
yes, I was getting the same error
Original comment by avinash....@gmail.com
on 28 Feb 2012 at 2:13
the last 5 lines in the log were the error message which i got...
Original comment by avinash....@gmail.com
on 28 Feb 2012 at 2:15
These are errors (catched?) but not exception and are from Android not IMSDroid.
02-27 18:49:04.745: E/Camera-JNI(27712): Callback buffer was too small!
Expected 720000 bytes, but got 152064 bytes!
According to the above line, your camera preview doesn't support CIF size but
except 800x600 or 600x800.
720000 = (800x600*3)/2
152064 = (352*288*3)/2
Replace this line
(http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-stack/
src/org/doubango/ngn/media/NgnProxyVideoProducer.java#334) with:
final int previewWidth = 800;
final int previewHeight = 600;
parameters.setPreviewSize(previewWidth, previewHeight);
mProducer.setActualCameraOutputSize(previewWidth, previewHeight);
Please note that it's possible to use "parameters.getSupportedPictureSizes()"
in order to get the list of all supported sizes.
Original comment by boss...@yahoo.fr
on 28 Feb 2012 at 2:32
Thank you..
Its working...
Original comment by avinash....@gmail.com
on 28 Feb 2012 at 7:33
Fixed by version revision 484.
Original comment by boss...@yahoo.fr
on 15 Mar 2012 at 11:13
Original issue reported on code.google.com by
avinash....@gmail.com
on 27 Feb 2012 at 1:19Attachments: