josteink / device_asus_tf101

cyanogenmod compatible device tree for asus tf101
12 stars 6 forks source link

Google talk force-closes when initiating video-talks. #26

Closed josteink closed 11 years ago

josteink commented 11 years ago

Report on XDA suggests there might be some missing blobs in our gapps:

I looked into the /system/lib folder of previous gapps and roms I have used and these to '.so' files were not in our rom: libvideochat_jni.so and libvideochat_stabilize.so . Would those be what's making GTalk FC?

Looks like another reason to peek into Nexus factory images.

josteink commented 11 years ago

Just reporting in... Shelling into my device, I have:

shell@android:/system/lib $ ls *gtalk*
libgtalk_jni.so
libgtalk_stabilize.so

Which would seem like much of the same thing really. I'll fool around and see if I can find a combo which works.

josteink commented 11 years ago

From @davebuk on xda:

It may have something to do with the stock software that controls the camera as switching to the front camera for video mode in stock camera app still crashes. As I found before, Skype works with both cameras so I guess its not kernel related?

josteink commented 11 years ago

From @davebuk on xda:

It may have something to do with the stock software that controls the camera as switching to the front camera for video mode in stock camera app still crashes. As I found before, Skype works with both cameras so I guess its not kernel related?

dlumberg commented 11 years ago

I looked at a logcat when it crashed and it looks like a memory problem. I'm guessing that the latest Gapps are based on the nexus devices having the ion drivers for memory management.

josteink commented 11 years ago

I woudn't be so sure about that. I've taken the original goo.im gapps, removed GoogleGallery (which normally replaces AOSP Gallery) and inserted a special libjni_latinime to prevent keyboard errors.

That is: We are still running AOSP gallery, and even that crashes when doing video with front-facing camera. I'm guessing we should actually be able to reproduce this issue without flasing gapps at all.

Why Skype works and this doesnt though... Beats me.

dlumberg commented 11 years ago

Gtalk video works with the talk.apk from the latest eos gapps. I think they're the ICS libs and gtalk because they are named libvideochat_jni.so and libvideochat_stabilize.so

josteink commented 11 years ago

Ooooh. That's almost cheating! I didn't even consider that.

Again: Good catch. I'll do some testing on these when I get back home, and hopefully that can be another gapps-related issue resolved.

josteink commented 11 years ago

Confirmed working by some users. Closing.

josteink commented 11 years ago

Note to self:

Might be worth investigating if the camera level fix for Photosphere has any impact on the use JB Gtalk APKs and libs as opposed to the ICS ones we are using now.

davebuk commented 11 years ago

(Using 20130403 "testing" ROM and EOS Gapps)

Gtalk worked for one call when I called from phone to tablet and both cameras worked on the tablet. Mic audio did not seem to work either. When trying for a second time, it would say that the tablet account was not available for a voice chat or video chat. I could not start a voice chat or video from either phone or tablet to each other. Text instant messages worked fine.

Gtalk does not FC/crash, just does not seem to work correctly?? Clearing 'Gtalk' cache/data did NOT fix the issue. Ref issue #8 Skype works well with audio and video.

davebuk commented 11 years ago

Gtalk is showing the same behaviour as above with the 20130403 linaro nightly and 20130324 gapps. Maybe the fix was not a fully working fix and only worked for one call? Not sure what others have found?

Appears to be working again now. My tablet was signed in with my phone account and tablet account (for play store and e-mail sync). As my phone was also signed in, even though I was using my tablet account, I wondered if the two accounts were conflicting.

After signing out of the phone account, (on the tablet) within gtalk it all seems to be working. I can make video, chat and voice calls from either device to each other. One to watch out for!