mfurqan777 / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

crashes when video call is started in honeycomb 3.2 #331

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
1.Making a video call
2.
3.

What is the expected output? What do you see instead?
log says callback buffer was too small

What version of the product are you using? On what operating system?
Samsung Galaxy Tab GT-P6200,  Android 3.2
Please provide any additional information below.

Original issue reported on code.google.com by avinash....@gmail.com on 27 Feb 2012 at 1:19

Attachments:

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
yes, I was getting the same error

Original comment by avinash....@gmail.com on 28 Feb 2012 at 2:13

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Thank you..
Its working...

Original comment by avinash....@gmail.com on 28 Feb 2012 at 7:33

GoogleCodeExporter commented 9 years ago
Fixed by version revision 484.

Original comment by boss...@yahoo.fr on 15 Mar 2012 at 11:13