Opened 11 years ago

Closed 10 years ago

#1768 closed defect (fixed)

Various Android fixes related to garbage collector and other crashes

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.3
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Fixes in sample Android application and also other places related to assertion and crashes, due to garbage collection issue (see GC issues in PJSUA2 book) or other issues.

Change History (8)

comment:1 Changed 11 years ago by bennylp

In 4840:

Re #1768: Fixed problems with Java garbage collection on call and buddy object

comment:2 Changed 11 years ago by bennylp

In 4841:

Re #1768: fixed wrong JNI compilation flags used by pjsua2 Android sample app

comment:3 Changed 11 years ago by bennylp

In 4842:

Re #1768: added APP_PLATFORM to avoid this warning "WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 11" which would make native debugging fail

comment:4 Changed 11 years ago by bennylp

In 4843:

Re #1768: avoid crash if outgoing call fails during media initialization, because on_call_state() is called with NULL event, which is unexpected by pjsua2 (and possibly other unsuspecting apps)

comment:5 Changed 11 years ago by bennylp

In 4844:

Re #1768: fixed potential GC problem when rejecting incoming call

comment:6 Changed 10 years ago by ming

In 4866:

Re #1768: move access to MainActivity? class from MyApp? to avoid undefined symbol error when not compiling for Android app

comment:7 Changed 10 years ago by nanang

In 4906:

Re #1768: Add forced GC to libDestroy() in SWIG Java.

comment:8 Changed 10 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.