dart-sip-ua
dart-sip-ua copied to clipboard
Incoming call on Android 9 crashes with "GetTransceivers is only supported with Unified Plan SdpSemantics".
Describe the bug
Incoming call on Android 9 crashes with GetTransceivers is only supported with Unified Plan SdpSemantics
, even with a custom SipUAHelper which sets pcConfig.sdpSemantics to unified plan. This happens when called from another instance of my app or when called from jssip. Outgoing calls to jssip clients work.
CustomUaHelper
class CustomUaHelper extends SIPUAHelper {
@override
Map<String, Object> buildCallOptions([bool voiceonly = false]) {
final options = super.buildCallOptions(voiceonly);
Map<String, dynamic> peerConnectionConfig = options['pcConfig'];
peerConnectionConfig['sdpSemantics'] = 'unified-plan';
return options;
}
}
Crash Log:
D/RTCAudioManager(13885): AudioManager started
I/flutter (13885): [2021-04-26 10:33:49.85] Level.debug rtc_session.dart:1611 ::: emit "peerconnection"
I/FlutterWebRTCPlugin(13885): getUserMedia(audio): mandatory: [], optional: [googNoiseSuppression: true, googEchoCancellation: true, echoCancellation: true, googEchoCancellation2: true, googDAEchoCancellation: true]
E/rtc (13885): #
E/rtc (13885): # Fatal error in: ../../../../usr/local/google/home/sakal/code/webrtc-aar-release/src/pc/peer_connection.cc, line 1989
E/rtc (13885): # last system error: 0
E/rtc (13885): # Check failed: IsUnifiedPlan()
E/rtc (13885): # GetTransceivers is only supported with Unified Plan SdpSemantics.
F/libc (13885): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 13938 (signaling_threa), pid 13885 (dle_app_flutter)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86_arm/generic_x86_arm:11/RSR1.201013.001/6903271:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2021-04-26 10:33:49+0000
pid: 13885, tid: 13938, name: signaling_threa >>> my.app.id <<<
uid: 10154
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
eax 00000000 ebx 0000363d ecx 00003672 edx 00000006
edi e44b081e esi a5358ea0
ebp e9065b90 esp a5358e48 eip e9065b99
backtrace:
#00 pc 00000b99 [vdso] (__kernel_vsyscall+9)
#01 pc 0005ad68 /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
#02 pc 00076511 /apex/com.android.runtime/lib/bionic/libc.so (abort+209) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
#03 pc 002a2ee6 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#04 pc 006dbb8a /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#05 pc 006f27d6 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#06 pc 006f2797 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#07 pc 002aff92 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#08 pc 002affc6 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#09 pc 0029cb15 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#10 pc 0029bb2e /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#11 pc 0029cfd1 /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#12 pc 0029cf0b /data/app/~~PRuiwbLiWINwWTStY9SyKQ==/my.app.id-TPaN00H2cG_WWjHJM6RF_w==/lib/x86/libjingle_peerconnection_so.so (BuildId: dec01cb2c0f3d792)
#13 pc 000e6974 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+100) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
#14 pc 00078567 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 6e3a0180fa6637b68c0d181c343e6806)
Lost connection to device.
System Infomation() Flutter SDK Version: 2.0.2 Sip UA: 0.3.5 Target OS and Version: Android 9 Host OS and Version: Android 9
any updates?
fixed