pjsip-android icon indicating copy to clipboard operation
pjsip-android copied to clipboard

Pjsip Crashes when app is in kill mode and accepts the incoming call #2796

Open chiragchauhan1073 opened this issue 3 years ago • 1 comments

Describe the bug App crashes frequently in kill mode while accepting incoming call. this happenes only in android 11. here is the crash log

PlayerBase::PlayerBase()
TrackPlayerBase::TrackPlayerBase()
D/AudioTrack: createTrack_l(16): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 716
W/libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
E/IAudioFlinger: createRecord returned error -1
E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -1
E/libOpenSLES: android_audioRecorder_realize(0xb40000751b4b3020) error creating AudioRecord object; status -1
W/libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)
A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8506 (Thread-82), pid 8406 (.main.xyz)

Steps to reproduce run pjsip make call auto receive call in kill mode(foreground service) android 11.

PJSIP version 2.11

Context Android Version 11.

chiragchauhan1073 avatar Aug 13 '21 07:08 chiragchauhan1073

I have the app running and receiving calls in kill mode. Are you starting an activity to handle the call?

ashishsecrets avatar Mar 24 '23 19:03 ashishsecrets