ConnectyCube / connectycube-flutter-sdk-releases

ConnectyCube Flutter SDK Releases
7 stars 1 forks source link

Getting crash in videocall #67

Closed KhyatiKamani closed 2 years ago

KhyatiKamani commented 2 years ago

Platform (use [x]) [] Android

Describe the bug: Video call accept video and crash apps

Logs: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 Cause: null pointer dereference eax 00000000 ebx b6a26384 ecx b6a26384 edx 00000002 esi 00000000 edi c9f45680 xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b eip b654edf4 ebp b12e8c58 esp b12e8c50 flags 00210282 backtrace:

00 pc 005f5df4 /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so

#01 pc 008751c7  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#02 pc 00874c86  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#03 pc 0096847d  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#04 pc 0096a5af  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#05 pc 0096e00c  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#06 pc 00879fc0  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#07 pc 0087b71e  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#08 pc 0087a5a6  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#09 pc 0043f8fd  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#10 pc 0043f821  /data/app/com.connectycube.flutter.p2p_call_sample-QVt44-Po7kP0ajbvd2OBYg==/lib/x86/libjingle_peerconnection_so.so
#11 pc 00071445  /system/lib/libc.so (__pthread_start(void*)+53)
#12 pc 000205db  /system/lib/libc.so (__start_thread+75)
#13 pc 0001ec16  /system/lib/libc.so (__bionic_clone+70)

[log] <opponentsIDs...

TatankaConCube commented 2 years ago

please specify your device information (architecture, OS version, model, etc), can you reproduce the same error on our sample app?

KhyatiKamani commented 2 years ago

please specify your device information (architecture, OS version, model, etc), can you reproduce the same error on our sample app?

Yes in your sample project I am getting this error. Devices : Samsung m42 OS 11 Nexus 6 OS 8.1 Redmi note 4 OS 7

TatankaConCube commented 2 years ago

do you reproduce this issue on all these devices?

KhyatiKamani commented 2 years ago

do you reproduce this issue on all these devices?

Yes

TatankaConCube commented 2 years ago

please specify detailed steps on how can we reproduce it in our sample and please provide the full log from the flutter console from starting the app till getting this error

KhyatiKamani commented 2 years ago

In Device 1 login with User1 In device 2 login with User2 Video call with User1 to User2 when User2 accepts call invitation and then app crash.

Log : [log] ---Xmpp Sending:--- I/flutter (21485): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = c880392b-1db4-48a7-931e-58d8d81b848e, callerId = 5070826, opponents = {5070807}, conferenceType = 1, userInfo = null} I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: initPlayout(sampleRate=48000, channels=1, bufferSizeFactor=1.0) I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: byteBuffer.capacity: 960 I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: minBufferSizeInBytes: 4616 I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: createAudioTrackOnLollipopOrHigher I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: nativeOutputSampleRate: 48000 D/AudioTrack(21485): Client defaulted notificationFrames to 1154 for frameCount 2308 I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: AudioTrack: session ID: 30073, channels: 1, sample rate: 48000, max gain: 1.0 I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: AudioTrack: buffer size in frames: 2308 I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: AudioTrack: buffer capacity in frames: 2308 I/org.webrtc.Logging(21485): VolumeLogger: start@[name=worker_thread - 21574, id=713] I/org.webrtc.Logging(21485): VolumeLogger: audio mode is: MODE_IN_COMMUNICATION [log] 5070807WebRTCVideoChat50708261c880392b-1db4-48a7-931e-58d8d81b848eiceCandidatesflutter2.0.600candidate:3362660723 1 udp 2122260223 192.168.232.2 34956 typ host generation 0 ufrag JB3L network-id 5 network-cost 1000candidate:1914131086 1 udp 2122187263 fec0::ff:fe44:5566 42331 typ host generation 0 ufrag JB3L network-id 6 network-cost 1000candidate:3362660723 1 udp 2122129151 192.168.232.2 35022 typ host generation 0 ufrag JB3L network-id 3 network-cost 90000candidate:1914131086 1 udp 2122056191 fec0::ff:fe44:5566 55100 typ host generation 0 ufrag JB3L network-id 4 network-cost 90000candidate:559267639 1 udp 2122005759 ::1 36702 typ host generation 0 ufrag JB3L network-id 200candidate:1510613869 1 udp 2121932543 127.0.0.1 35149 typ host generation 0 ufrag JB3L network-id 111candidate:3362660723 1 udp 2122260223 192.168.232.2 59067 typ host generation 0 ufrag JB3L network-id 5 network-cost 1011candidate:1914131086 1 udp 2122187263 fec0::ff:fe44:5566 38685 typ host generation 0 ufrag JB3L network-id 6 network-cost 1011candidate:3362660723 1 udp 2122129151 192.168.232.2 36096 typ host generation 0 ufrag JB3L network-id 3 network-cost 90011candidate:1914131086 1 udp 2122056191 fec0::ff:fe44:5566 33723 typ host generation 0 ufrag JB3L network-id 4 network-cost 90011candidate:559267639 1 udp 2122005759 ::1 37582 typ host generation 0 ufrag JB3L network-id 211candidate:1510613869 1 udp 2121932543 127.0.0.1 41782 typ host generation 0 ufrag JB3L network-id 100candidate:1876313031 1 tcp 1518025983 ::1 39643 typ host tcptype passive generation 0 ufrag JB3L network-id 200candidate:344579997 1 tcp 1517952767 127.0.0.1 44822 typ host tcptype passive generation 0 ufrag JB3L network-id 111candidate:1876313031 1 tcp 1518025983 ::1 43572 typ host tcptype passive generation 0 ufrag JB3L network-id 211candidate:344579997 1 tcp 1517952767 127.0.0.1 43642 typ host tcptype passive generation 0 ufrag JB3L network-id 111candidate:842163049 1 udp 1686052607 157.32.127.155 34742 typ srflx raddr 192.168.232.2 rport 59067 generation 0 ufrag JB3L network-id 5 network-cost 1000candidate:842163049 1 udp 1686052607 157.32.127.155 39981 typ srflx raddr 192.168.232.2 rport 34956 generation 0 ufrag JB3L network-id 5 network-cost 1011candidate:842163049 1 udp 1685921535 157.32.127.155 43067 typ srflx raddr 192.168.232.2 rport 36096 generation 0 ufrag JB3L network-id 3 network-cost 90000candidate:842163049 1 udp 1685921535 157.32.127.155 55903 typ srflx raddr 192.168.232.2 rport 35022 generation 0 ufrag JB3L network-id 3 network-cost 90011candidate:1026230121 1 udp 41754623 3.121.84.95 57098 typ relay raddr 157.32.127.155 rport 43067 generation 0 ufrag JB3L network-id 3 network-cost 90000candidate:3631163997 1 udp 41754623 35.158.208.53 59232 typ relay raddr 157.32.127.155 rport 55903 generation 0 ufrag JB3L network-id 3 network-cost 90000candidate:3631163997 1 udp 41885695 35.158.208.53 62147 typ relay raddr 157.32.127.155 rport 39981 generation 0 ufrag JB3L network-id 5 network-cost 1011candidate:1026230121 1 udp 41885695 3.121.84.95 35281 typ relay raddr 157.32.127.155 rport 34742 generation 0 ufrag JB3L network-id 5 network-cost 1000candidate:1940454297 1 udp 24977151 3.121.84.95 54595 typ relay raddr 157.32.127.155 rport 51476 generation 0 ufrag JB3L network-id 3 network-cost 90011candidate:2532103853 1 udp 25108223 35.158.208.53 54923 typ relay raddr 157.32.127.155 rport 51480 generation 0 ufrag JB3L network-id 5 network-cost 1000candidate:2532103853 1 udp 25108223 35.158.208.53 55446 typ relay raddr 157.32.127.155 rport 51478 generation 0 ufrag JB3L network-id 5 network-cost 1011candidate:1940454297 1 udp 24977151 3.121.84.95 64658 typ relay raddr 157.32.127.155 rport 51482 generation 0 ufrag JB3L network-id 3 network-cost 900 I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: startPlayout I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: AudioTrackThread@[name=AudioTrackJavaThread, id=724] I/org.webrtc.Logging(21485): WebRtcAudioTrackExternal: doAudioTrackStateCallback: 0 I/org.webrtc.Logging(21485): VolumeLogger: VOICE_CALL stream volume: 4 (max=5) D/FlutterWebRTCPlugin(21485): onAddTrack D/FlutterWebRTCPlugin(21485): onAddTrack I/flutter (21485): CB-SDK: PeerConnection: onSignalingState changed to RTCSignalingState.RTCSignalingStateStable for opponent 5070807 I/flutter (21485): CB-SDK: PeerConnection: onIceConnectionState changed to RTCIceConnectionState.RTCIceConnectionStateChecking for opponent 5070807 F/libc (21485): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 21694 (EncoderQueue - ), pid 21485 (p2p_call_sample)


Build fingerprint: 'google/sdk_gphone_x86/generic_x86:8.1.0/OSM1.180201.037/6739391:userdebug/dev-keys' Revision: '0' ABI: 'x86' pid: 21485, tid: 21694, name: EncoderQueue - >>> com.connectycube.flutter.p2p_call_sample <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 Cause: null pointer dereference eax 00000000 ebx b711c384 ecx b711c384 edx 00000002 esi 00000000 edi d2677600 xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b eip b6c44df4 ebp b3480c58 esp b3480c50 flags 00210282 backtrace:

00 pc 005f5df4 /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so

#01 pc 008751c7  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#02 pc 00874c86  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#03 pc 0096847d  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#04 pc 0096a5af  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#05 pc 0096e00c  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#06 pc 00879fc0  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#07 pc 0087b71e  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#08 pc 0087a5a6  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#09 pc 0043f8fd  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#10 pc 0043f821  /data/app/com.connectycube.flutter.p2p_call_sample-ZT5g3fSpLAcBcEVGdFdt_g==/lib/x86/libjingle_peerconnection_so.so
#11 pc 00071445  /system/lib/libc.so (__pthread_start(void*)+53)
#12 pc 000205db  /system/lib/libc.so (__start_thread+75)
#13 pc 0001ec16  /system/lib/libc.so (__bionic_clone+70)
TatankaConCube commented 2 years ago

Samsung m42 OS 11 Nexus 6 OS 8.1 Redmi note 4 OS 7

which device from this list on the ABI: 'x86' architecture? According to your logs, you get this error on this type of device

TatankaConCube commented 2 years ago

could you please try today's version 2.0.7, according to the changelog of the flutter_webrtc plugin this issue should be fixed.

KhyatiKamani commented 2 years ago

After the Update SDK version App crashed on one device which the user accept calls request.

TatankaConCube commented 2 years ago

hmm, it is strange, we can't reproduce this issue on our devices (Poco F1, Nexus 6P, iPhone 8s, iPhone XR, Chrome, macOS). Have you any other preconditions, how can we reproduce this issue in our sample?

abhi-dasgupta commented 2 years ago

@KhyatiKamani did you solve this, same situation here, audio calls work fine though.

abhi-dasgupta commented 2 years ago

@TatankaConCube hi, here last logs

I/BufferQueueConsumer( 3017): [SurfaceTexture-0-3017-3](this:0xc1a76000,id:3,api:1,p:3017,c:3017) setDefaultBufferSize: width=720 height=1280
D/FlutterWebRTCPlugin( 3017): onIceCandidate
I/flutter ( 3017): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = c7c11a84-1dc1-482e-a0fa-9b8a08e0e948, callerId = 5150297, opponents = {5150293}, conferenceType = 1, userInfo = null}
I/flutter ( 3017): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = c7c11a84-1dc1-482e-a0fa-9b8a08e0e948, callerId = 5150297, opponents = {5150293}, conferenceType = 1, userInfo = null}
[log] ---Xmpp Sending:---
[log] "<message id="RNJROPUGY" type="headline" to="5150297-5662@chat.connectycube.com"><extraParams xmlns="jabber:client"><opponentsIDs><opponentID>5150293</opponentID></opponentsIDs><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><callerID>5150297</callerID><callType>1</callType><sessionID>c7c11a84-1dc1-482e-a0fa-9b8a08e0e948</sessionID><signalType>iceCandidates</signalType><platform>flutter</platform><version_sdk>2.0.7</version_sdk><iceCandidates><iceCandidate><sdpMLineIndex>0</sdpMLineIndex><sdpMid>0</sdpMid><candidate>candidate:842163049 1 udp 1685855999 49.34.191.186 33482 typ srflx raddr 192.168.31.29 rport 33482 generation 0 ufrag hB/J network-id 4 network-cost 900</candidate></iceCandidate></iceCandidates></extraParams></message>"
W/System.err( 3017): java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Not implemented.
W/System.err( 3017):    at java.util.concurrent.FutureTask.report(FutureTask.java:123)
W/System.err( 3017):    at java.util.concurrent.FutureTask.get(FutureTask.java:193)
W/System.err( 3017):    at com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper$StreamEncoderWrapper.initEncode(SimulcastVideoEncoderFactoryWrapper.kt:109)
W/System.err( 3017): Caused by: java.lang.UnsupportedOperationException: Not implemented.
W/System.err( 3017):    at org.webrtc.WrappedNativeVideoEncoder.initEncode(WrappedNativeVideoEncoder.java:22)
W/System.err( 3017):    at com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper$StreamEncoderWrapper$initEncode$future$1.call(SimulcastVideoEncoderFactoryWrapper.kt:107)
W/System.err( 3017):    at com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper$StreamEncoderWrapper$initEncode$future$1.call(SimulcastVideoEncoderFactoryWrapper.kt:83)
W/System.err( 3017):    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err( 3017):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
W/System.err( 3017):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
W/System.err( 3017):    at java.lang.Thread.run(Thread.java:764)
D/FlutterWebRTCPlugin( 3017): onIceCandidate
2
E/rtc     ( 3017):
E/rtc     ( 3017): #
E/rtc     ( 3017): # Fatal error in: gen/sdk/android/generated_metrics_jni/../../../../../../sdk/android/src/jni/jni_generator_helper.h, line 94
E/rtc     ( 3017): # last system error: 0
E/rtc     ( 3017): # Check failed: !env->ExceptionCheck()
E/rtc     ( 3017): #
F/libc    ( 3017): Fatal signal 6 (SIGABRT), code -6 in tid 5172 (EncoderQueue - ), pid 3017 (p2p_call_sample)
[log] ---Xmpp Sending:---
[log] "<message id="QMYXWAYHI" type="headline" to="5150297-5662@chat.connectycube.com"><extraParams xmlns="jabber:client"><opponentsIDs><opponentID>5150293</opponentID></opponentsIDs><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><callerID>5150297</callerID><callType>1</callType><sessionID>c7c11a84-1dc1-482e-a0fa-9b8a08e0e948</sessionID><signalType>iceCandidates</signalType><platform>flutter</platform><version_sdk>2.0.7</version_sdk><iceCandidates><iceCandidate><sdpMLineIndex>0</sdpMLineIndex><sdpMid>0</sdpMid><candidate>candidate:842163049 1 udp 1686052607 123.201.95.121 10569 typ srflx raddr 192.168.31.29 rport 45504 generation 0 ufrag hB/J network-id 6 network-cost 10</candidate></iceCandidate></iceCandidates></extraParams></message>"
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/j7maxlteins/j7maxlte:8.1.0/M1AJQ/G615FXXS2BUD2:user/release-keys'
Revision: '5'
ABI: 'arm'
pid: 3017, tid: 5172, name: EncoderQueue -  >>> com.connectycube.flutter.p2p_call_sample <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
 r0 00000000  r1 00001434  r2 00000006  r3 00000008
    r4 00000bc9  r5 00001434  r6 b0cfdc1c  r7 0000010c
    r8 00000000  r9 00000001  sl 000002d0  fp 00000500
    ip b35568d6  sp b0cfdc08  lr f0844c51  pc f083e3ea  cpsr 200d0030
backtrace:
    #00 pc 0001a3ea  /system/lib/libc.so (abort+63)
    #01 pc 0020c5c5  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #02 pc 0020c56d  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #03 pc 001fd1cb  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #04 pc 00321f8b  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #05 pc 00459f7d  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #06 pc 004e6b01  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #07 pc 004e7dad  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #08 pc 004e9f93  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #09 pc 0045d2ab  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #10 pc 0045e1f1  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #11 pc 0045d671  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #12 pc 00212941  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #13 pc 002128b7  /data/app/com.connectycube.flutter.p2p_call_sample-5YXIQ8GGyrl0zdyzXHrAAQ==/lib/arm/libjingle_peerconnection_so.so
    #14 pc 00047f07  /system/lib/libc.so (__pthread_start(void*)+22)
    #15 pc 0001b209  /system/lib/libc.so (__start_thread+32)
Lost connection to device.
Exited (sigterm)
Bharavi26 commented 2 years ago

Hello sir, any update related to this issue... i am getting same issue when videocall connect app just crased..


flutter doctor

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.4 20F71 darwin-arm, locale en-IN) • Flutter version 2.5.3 at /System/Volumes/Data/fluttersdk/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700 • Engine revision d3ea636dc5 • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/name/Library/Android/sdk • Platform android-31, build-tools 31.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 13.0, Build version 13A233 • CocoaPods version 1.11.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1) • Android Studio at /Applications/Android Studio_old.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio (version 2020.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.29.0

[✓] Connected device (2 available) • SM E225F (mobile) • RZ8R90B762D • android-arm64 • Android 11 (API 30) • Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.55


I/org.webrtc.Logging(12126): NativeLibrary: Loading native library: jingle_peerconnection_so I/org.webrtc.Logging(12126): NativeLibrary: Loading library: jingle_peerconnection_so I/org.webrtc.Logging(12126): PeerConnectionFactory: PeerConnectionFactory was initialized without an injected Loggable. Any existing Loggable will be deleted. I/org.webrtc.Logging(12126): EglBase14Impl: SDK version: 30. isEGL14Supported: true I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007bc28f34b0, ARC not Enabled. I/org.webrtc.Logging(12126): WebRtcAudioManagerExternal: Sample rate is set to 48000 Hz I/org.webrtc.Logging(12126): WebRtcAudioManagerExternal: Sample rate is set to 48000 Hz I/org.webrtc.Logging(12126): JavaAudioDeviceModule: createAudioDeviceModule I/org.webrtc.Logging(12126): JavaAudioDeviceModule: HW NS will be used. I/org.webrtc.Logging(12126): JavaAudioDeviceModule: HW AEC will be used. I/org.webrtc.Logging(12126): WebRtcAudioEffectsExternal: ctor@[name=main, id=2] I/org.webrtc.Logging(12126): WebRtcAudioRecordExternal: ctor@[name=main, id=2] I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: ctor@[name=main, id=2] W/AudioCapabilities(12126): Unsupported mime audio/x-ima W/VideoCapabilities(12126): Unsupported mime video/wvc1 W/VideoCapabilities(12126): Unsupported mime video/x-ms-wmv W/AudioCapabilities(12126): Unsupported mime audio/x-ima W/AudioCapabilities(12126): Unsupported mime audio/mpeg-L1 W/AudioCapabilities(12126): Unsupported mime audio/mpeg-L2 W/VideoCapabilities(12126): Unsupported mime video/wvc1 I/flutter (12126): ===test==expanded--true W/VideoCapabilities(12126): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities(12126): Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities(12126): Unrecognized profile/level 32768/64 for video/mp4v-es W/VideoCapabilities(12126): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities(12126): Unrecognized profile/level 1/32 for video/mp4v-es W/VideoCapabilities(12126): Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities(12126): Unrecognized profile/level 32768/64 for video/mp4v-es I/org.webrtc.Logging(12126): WebRtcAudioRecordExternal: enableBuiltInAEC(true) I/org.webrtc.Logging(12126): WebRtcAudioEffectsExternal: setAEC(true) I/org.webrtc.Logging(12126): WebRtcAudioRecordExternal: enableBuiltInNS(true) I/org.webrtc.Logging(12126): WebRtcAudioEffectsExternal: setNS(true) I/org.webrtc.Logging(12126): PeerConnectionFactory: onWorkerThreadReady I/org.webrtc.Logging(12126): PeerConnectionFactory: onSignalingThreadReady I/org.webrtc.Logging(12126): PeerConnectionFactory: onNetworkThreadReady I/FlutterWebRTCPlugin(12126): getUserMedia(audio): mandatory: [], optional: [googNoiseSuppression: true, googEchoCancellation: true, echoCancellation: true, googEchoCancellation2: true, googDAEchoCancellation: true] I/FlutterWebRTCPlugin(12126): getUserMedia(video): com.cloudwebrtc.webrtc.utils.ConstraintsMap@8bc3c90 I/flutter (12126): CB-SDK: PeerConnection: startAnswer I/CameraManagerGlobal(12126): Connecting to camera service D/VendorTagDescriptor(12126): addVendorDescriptor: vendor tag id 3854507339 added I/CameraManagerGlobal(12126): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 I/CameraManagerGlobal(12126): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.app API Level 2 I/CameraManagerGlobal(12126): Camera 2 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 I/CameraManagerGlobal(12126): Camera 23 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 I/CameraManagerGlobal(12126): Camera 3 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client android.system API Level 2 I/CameraManagerGlobal(12126): Camera 50 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 I/CameraManagerGlobal(12126): Camera 52 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 I/CameraManagerGlobal(12126): Camera 54 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client android.system API Level 2 D/FlutterWebRTCPlugin(12126): Creating video capturer using Camera2 API. D/FlutterWebRTCPlugin(12126): Create front camera 1 succeeded D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007bc28f27a8, ARC not Enabled. I/org.webrtc.Logging(12126): CameraCapturer: startCapture: 1280x720@30 D/FlutterWebRTCPlugin(12126): changeCaptureFormat: 1280x720@30 I/org.webrtc.Logging(12126): Camera2Session: Create new camera2 session on camera 1 I/org.webrtc.Logging(12126): Camera2Session: start D/FlutterWebRTCPlugin(12126): MediaStream id: a7de1818-4aa3-4b1a-bfa6-a63cacde1bb3 I/FlutterWebRTCPlugin(12126): getUserMedia(audio): mandatory: [], optional: [googNoiseSuppression: true, googEchoCancellation: true, echoCancellation: true, googEchoCancellation2: true, googDAEchoCancellation: true] I/FlutterWebRTCPlugin(12126): getUserMedia(video): com.cloudwebrtc.webrtc.utils.ConstraintsMap@9f9d989 I/org.webrtc.Logging(12126): Camera2Session: Available preview sizes: [3712x2556, 3712x2088, 3712x1668, 3408x2556, 2544x2544, 1920x1080, 1440x1080, 1280x960, 1280x720, 1088x1088, 960x720, 720x480, 640x480, 512x384, 512x288, 384x384, 352x288, 320x240, 256x144, 176x144] I/org.webrtc.Logging(12126): Camera2Session: Available fps ranges: [[10.0:10.0], [15.0:15.0], [15.0:20.0], [20.0:20.0], [5.0:30.0], [30.0:30.0]] I/flutter (12126): CB-SDK: _ConversationCallScreenState: _addLocalMediaStream I/flutter (12126): incoming=>2 I/org.webrtc.Logging(12126): Camera2Session: Using capture format: 1280x720@[5.0:30.0] I/org.webrtc.Logging(12126): Camera2Session: Opening camera 1 D/FlutterWebRTCPlugin(12126): CameraEventsHandler.onCameraOpening: cameraName=1 I/flutter (12126): CB-SDK: _ConversationCallScreenState: _onStreamAdd for user 5169893 I/flutter (12126): incoming=>3----5169893--- I/CameraManagerGlobal(12126): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.app API Level 2 I/org.webrtc.Logging(12126): Camera2Session: Camera opened. D/FlutterWebRTCPlugin(12126): Creating video capturer using Camera2 API. D/FlutterWebRTCPlugin(12126): Create front camera 1 succeeded D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf3b6ae8, ARC not Enabled. I/org.webrtc.Logging(12126): CameraCapturer: startCapture: 1280x720@30 D/FlutterWebRTCPlugin(12126): changeCaptureFormat: 1280x720@30 I/org.webrtc.Logging(12126): Camera2Session: Create new camera2 session on camera 1 I/org.webrtc.Logging(12126): Camera2Session: start D/FlutterWebRTCPlugin(12126): MediaStream id: 111e7783-1446-4c2f-9c75-a30e0b7bd9c3 I/flutter (12126): CB-SDK: _ConversationCallScreenState: _addLocalMediaStream I/flutter (12126): incoming=>2 I/flutter (12126): CB-SDK: _ConversationCallScreenState: _onStreamAdd for user 5169893 I/flutter (12126): incoming=>3----5169893--- I/org.webrtc.Logging(12126): EglRenderer: Initializing EglRenderer I/org.webrtc.Logging(12126): Camera2Session: Available preview sizes: [3712x2556, 3712x2088, 3712x1668, 3408x2556, 2544x2544, 1920x1080, 1440x1080, 1280x960, 1280x720, 1088x1088, 960x720, 720x480, 640x480, 512x384, 512x288, 384x384, 352x288, 320x240, 256x144, 176x144] I/org.webrtc.Logging(12126): Camera2Session: Available fps ranges: [[10.0:10.0], [15.0:15.0], [15.0:20.0], [20.0:20.0], [5.0:30.0], [30.0:30.0]] I/org.webrtc.Logging(12126): Camera2Session: Using capture format: 1280x720@[5.0:30.0] I/org.webrtc.Logging(12126): Camera2Session: Opening camera 1 D/FlutterWebRTCPlugin(12126): CameraEventsHandler.onCameraOpening: cameraName=1 I/org.webrtc.Logging(12126): EglRenderer: EglBase.create shared context D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf3bbc70, ARC not Enabled. I/org.webrtc.Logging(12126): EglRenderer: Initializing EglRenderer I/org.webrtc.Logging(12126): EglRenderer: EglBase.create shared context D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf3bf9b8, ARC not Enabled. I/org.webrtc.Logging(12126): Camera2Session: Camera capture session configured. D/RTCAudioManager(12126): ctor D/RTCBluetoothManager(12126): create@[name=main, id=2] D/RTCBluetoothManager(12126): ctor D/RTCAudioManager(12126): useSpeakerphone: auto D/RTCProximitySensor(12126): RTCProximitySensor@[name=main, id=2] D/RTCAudioManager(12126): defaultAudioDevice: SPEAKER_PHONE D/RTCAudioManager(12126): Android SDK: 30, Release: 11, Brand: samsung, Device: f22, Id: RP1A.200720.012, Hardware: mt6769t, Manufacturer: samsung, Model: SM-E225F, Product: f22ins D/RTCAudioManager(12126): start D/RTCAudioManager(12126): AudioManager starts... W/AudioManager(12126): Use of stream types is deprecated for operations other than volume control W/AudioManager(12126): See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case D/RTCAudioManager(12126): Audio focus request granted for VOICE_CALL streams I/CameraManagerGlobal(12126): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.app API Level 2 E/org.webrtc.Logging(12126): Camera2Session: Error: Failed to start capture request. android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): createDefaultRequest:1726: Camera 1: Error creating default request for template 3: Function not implemented (-38) I/org.webrtc.Logging(12126): Camera2Session: Stop internal I/org.webrtc.Logging(12126): SurfaceTextureHelper: stopListening() I/org.webrtc.Logging(12126): Camera2Session: Stop done W/org.webrtc.Logging(12126): CameraCapturer: onCameraError from another session: Failed to start capture request. android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): createDefaultRequest:1726: Camera 1: Error creating default request for template 3: Function not implemented (-38) I/org.webrtc.Logging(12126): Camera2Session: Camera device closed. D/FlutterWebRTCPlugin(12126): CameraEventsHandler.onFirstFrameAvailable I/CameraManagerGlobal(12126): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.app API Level 2 I/org.webrtc.Logging(12126): Camera2Session: Camera opened. D/RTCBluetoothManager(12126): start W/RTCBluetoothManager(12126): Process (pid=12126) lacks BLUETOOTH permission D/RTCAudioManager(12126): --- updateAudioDeviceState: wired headset=false, BT state=UNINITIALIZED D/RTCAudioManager(12126): Device status: available=[], selected=NONE, user selected=NONE D/RTCAudioManager(12126): setAudioDeviceInternal(device=SPEAKER_PHONE) D/AudioManager(12126): setSpeakerphoneOn true D/RTCAudioManager(12126): New device status: available=[SPEAKER_PHONE, EARPIECE], selected=SPEAKER_PHONE D/FlutterWebRTCPlugin(12126): onAudioManagerDevicesChanged: [SPEAKER_PHONE, EARPIECE], selected: SPEAKER_PHONE D/RTCAudioManager(12126): --- updateAudioDeviceState done D/RTCAudioManager(12126): AudioManager started W/FlutterWebRTCPlugin(12126): FlutterRTCVideoRenderer.setVideoTrack, set video track to 60a76674-54b8-4b98-b204-399ad43f6b1b I/org.webrtc.Logging(12126): EglRenderer: Releasing. I/org.webrtc.Logging(12126): EglRenderer: eglBase detach and release. I/org.webrtc.Logging(12126): EglRenderer: Quitting render thread. I/org.webrtc.Logging(12126): EglRenderer: Releasing done. I/org.webrtc.Logging(12126): EglRenderer: Initializing EglRenderer I/org.webrtc.Logging(12126): EglRenderer: EglBase.create shared context D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf7a5f98, ARC not Enabled. W/FlutterWebRTCPlugin(12126): FlutterRTCVideoRenderer.setVideoTrack, set video track to 1f463d96-b1e9-45e3-8022-a2c9c0bed655 I/org.webrtc.Logging(12126): EglRenderer: Releasing. I/org.webrtc.Logging(12126): EglRenderer: eglBase detach and release. I/org.webrtc.Logging(12126): EglRenderer: Quitting render thread. I/org.webrtc.Logging(12126): EglRenderer: Releasing done. I/org.webrtc.Logging(12126): EglRenderer: Initializing EglRenderer I/org.webrtc.Logging(12126): EglRenderer: EglBase.create shared context D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf3c1b28, ARC not Enabled. I/org.webrtc.Logging(12126): Camera2Session: Camera capture session configured. I/org.webrtc.Logging(12126): Camera2Session: Using video stabilization. I/org.webrtc.Logging(12126): Camera2Session: Auto-focus is not available. I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.VPX type: VP8 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.VP9 type: VP9 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.AVC type: H264 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: c2.android.avc.decoder type: H264 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): Camera2Session: Camera device successfully started. I/org.webrtc.Logging(12126): CameraCapturer: Create session done. Switch state: IDLE I/org.webrtc.Logging(12126): SurfaceTextureHelper: Setting listener to org.webrtc.-$$Lambda$Camera2Session$CaptureSessionCallback$_XbqUL6ihfYRgME_EfDLZtLmkGA@bbd6c9f D/FlutterWebRTCPlugin(12126): onAddTrack D/FlutterWebRTCPlugin(12126): onAddTrack I/flutter (12126): ===test==expanded--true I/flutter (12126): CB-SDK: PeerConnection: onSignalingState changed to RTCSignalingState.RTCSignalingStateHaveRemoteOffer for opponent 5192237 I/flutter (12126): CB-SDK: _ConversationCallScreenState: _addRemoteMediaStream for user 5192237 I/flutter (12126): incoming=>4 I/flutter (12126): CB-SDK: _ConversationCallScreenState: _onStreamAdd for user 5192237 I/flutter (12126): incoming=>3----5192237--- I/org.webrtc.Logging(12126): EglRenderer: Initializing EglRenderer I/org.webrtc.Logging(12126): EglRenderer: EglBase.create shared context D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf3c17c8, ARC not Enabled. I/flutter (12126): Is in video call true I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: initPlayout(sampleRate=48000, channels=1, bufferSizeFactor=1.0) I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: byteBuffer.capacity: 960 I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: minBufferSizeInBytes: 8208 I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: createAudioTrackOnLollipopOrHigher I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: nativeOutputSampleRate: 48000 I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: AudioTrack: session ID: 6489, channels: 1, sample rate: 48000, max gain: 1.0 I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: AudioTrack: buffer size in frames: 4104 I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: AudioTrack: buffer capacity in frames: 4104 I/org.webrtc.Logging(12126): VolumeLogger: start@[name=worker_thread - 13475, id=41255] I/org.webrtc.Logging(12126): VolumeLogger: audio mode is: MODE_IN_COMMUNICATION I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: startPlayout I/org.webrtc.Logging(12126): VolumeLogger: VOICE_CALL stream volume: 4 (max=8) I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: AudioTrackThread@[name=AudioTrackJavaThread, id=41269] I/org.webrtc.Logging(12126): WebRtcAudioTrackExternal: doAudioTrackStateCallback: 0 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.VPX type: VP8 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.VP9 type: VP9 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.VPX type: VP8 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): AndroidVideoDecoder: ctor name: OMX.MTK.VIDEO.DECODER.VP9 type: VP9 color format: 19 context: org.webrtc.EglBase14Impl$Context@70f36f9 I/org.webrtc.Logging(12126): WebRtcAudioRecordExternal: enableBuiltInAEC(true) I/org.webrtc.Logging(12126): WebRtcAudioEffectsExternal: setAEC(true) I/org.webrtc.Logging(12126): WebRtcAudioRecordExternal: enableBuiltInNS(true) I/org.webrtc.Logging(12126): WebRtcAudioEffectsExternal: setNS(true) I/org.webrtc.Logging(12126): NetworkMonitor: Start monitoring with native observer -5476376615871160320 I/org.webrtc.Logging(12126): NetworkMonitorAutoDetect: Network becomes available: 628 D/FlutterWebRTCPlugin(12126): onIceGatheringChangeGATHERING W/FlutterWebRTCPlugin(12126): FlutterRTCVideoRenderer.setVideoTrack, set video track to 19c430b9-e601-46db-8e4d-3f6427ecfae1 I/org.webrtc.Logging(12126): EglRenderer: Releasing. I/org.webrtc.Logging(12126): NetworkMonitorAutoDetect: capabilities changed: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=49000Kbps LinkDnBandwidth>=49000Kbps SignalStrength: -59 AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null] I/org.webrtc.Logging(12126): EglRenderer: eglBase detach and release. I/flutter (12126): CB-SDK: PeerConnection: onSignalingState changed to RTCSignalingState.RTCSignalingStateStable for opponent 5192237 I/org.webrtc.Logging(12126): EglRenderer: Quitting render thread. I/org.webrtc.Logging(12126): EglRenderer: Releasing done. I/org.webrtc.Logging(12126): EglRenderer: Initializing EglRenderer I/org.webrtc.Logging(12126): NetworkMonitorAutoDetect: link properties changed I/org.webrtc.Logging(12126): EglRenderer: EglBase.create shared context D/libMEOW (12126): applied 1 plugins for [com.app]: D/libMEOW (12126): plugin 1: [libMEOW_gift.so]: I/org.webrtc.Logging(12126): EglBase14Impl: Using OpenGL ES version 2 I/libMEOW_gift(12126): ctx:0xb400007baf3c17c8, ARC not Enabled. D/FlutterWebRTCPlugin(12126): onIceCandidate D/FlutterWebRTCPlugin(12126): onIceCandidate D/FlutterWebRTCPlugin(12126): onIceCandidate I/flutter (12126): CB-SDK: PeerConnection: _drainIceCandidates I/flutter (12126): ===test==expanded--false I/CameraManagerGlobal(12126): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_ACTIVE for client com.app API Level 2 I/flutter (12126): CB-SDK: PeerConnection: onIceGatheringState changed to RTCIceGatheringState.RTCIceGatheringStateGathering for opponent 5192237 I/mali_config(12126): @get_buffer_dataspace_setting: update dataspace (0x10020000 -> 0x08020000) I/flutter (12126): CB-SDK: BaseSession: onIceGatheringStateChanged state= RTCIceGatheringState.RTCIceGatheringStateGathering for userId= 5192237 I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} D/FlutterWebRTCPlugin(12126): CameraEventsHandler.onFirstFrameAvailable I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} W/System.err(12126): java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Not implemented. W/System.err(12126): at java.util.concurrent.FutureTask.report(FutureTask.java:123) W/System.err(12126): at java.util.concurrent.FutureTask.get(FutureTask.java:193) W/System.err(12126): at com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper$StreamEncoderWrapper.initEncode(SimulcastVideoEncoderFactoryWrapper.kt:109) W/System.err(12126): Caused by: java.lang.UnsupportedOperationException: Not implemented. W/System.err(12126): at org.webrtc.WrappedNativeVideoEncoder.initEncode(WrappedNativeVideoEncoder.java:22) W/System.err(12126): at com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper$StreamEncoderWrapper$initEncode$future$1.call(SimulcastVideoEncoderFactoryWrapper.kt:107) W/System.err(12126): at com.cloudwebrtc.webrtc.SimulcastVideoEncoderFactoryWrapper$StreamEncoderWrapper$initEncode$future$1.call(SimulcastVideoEncoderFactoryWrapper.kt:83) W/System.err(12126): at java.util.concurrent.FutureTask.run(FutureTask.java:266) W/System.err(12126): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) W/System.err(12126): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) W/System.err(12126): at java.lang.Thread.run(Thread.java:923) E/rtc (12126): # E/rtc (12126): # Fatal error in: gen/sdk/android/generated_metrics_jni/../../../../../../sdk/android/src/jni/jni_generator_helper.h, line 94 E/rtc (12126): # last system error: 0 E/rtc (12126): # Check failed: !env->ExceptionCheck() E/rtc (12126): # D/FlutterWebRTCPlugin(12126): onIceCandidate D/FlutterWebRTCPlugin(12126): onIceCandidate I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} D/FlutterWebRTCPlugin(12126): onIceCandidate I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} D/FlutterWebRTCPlugin(12126): onIceCandidate I/flutter (12126): CB-SDK: : sendIceCandidate, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} I/flutter (12126): CB-SDK: : sendIceCandidates, _sdp = CubeRTCSessionDescription: {sessionId = 6738ddf5-fa25-415f-8aed-baaca8076108, callerId = 5192237, opponents = {5169893}, conferenceType = 1, userInfo = null} F/libc (12126): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13665 (EncoderQueue - ), pid 12126 (com.app)


Build fingerprint: 'samsung/f22ins/f22:11/RP1A.200720.012/E225FXXU3AUJ3:user/release-keys' Revision: '2' ABI: 'arm64' Timestamp: 2021-12-04 10:55:28+0530 pid: 12126, tid: 13665, name: EncoderQueue - >>> com.app <<< uid: 10319 signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- x0 0000000000000000 x1 0000000000003561 x2 0000000000000006 x3 0000007ba5249a20 x4 fefefefefefeff06 x5 fefefefefefeff06 x6 fefefefefefeff06 x7 7f7f7f7f7f7f7f7f x8 00000000000000f0 x9 0000007d1688e758 x10 ffffff80fffffbdf x11 0000000000000001 x12 0000007ba5248340 x13 00000000000000c2 x14 0000000000000000 x15 00000b9ff6276570 x16 0000007d16960948 x17 0000007d1693f860 x18 0000007b8075e000 x19 00000000000000ac x20 0000000000002f5e x21 00000000000000b2 x22 0000000000003561 x23 00000000ffffffff x24 000000000000012c x25 000000000000003c x26 0000000000003546 x27 0000000000000001 x28 0000000000000001 x29 0000007ba5249aa0 lr 0000007d168f26dc sp 0000007ba5249a00 pc 0000007d168f270c pst 0000000000000000 backtrace:

00 pc 000000000008a70c /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 7c95cc0d17d92058007afa23409fd94e)

  #01 pc 0000000000387c50  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #02 pc 0000000000387be8  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #03 pc 000000000036f688  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #04 pc 000000000036f5ac  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #05 pc 0000000000516dd4  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #06 pc 00000000006ba560  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #07 pc 000000000078b5e8  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #08 pc 000000000078cfc4  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #09 pc 000000000078ff0c  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #10 pc 00000000006bf2a4  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #11 pc 00000000006c0954  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #12 pc 00000000006bf8a4  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #13 pc 00000000003917fc  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #14 pc 0000000000391704  /data/app/~~fWcMt6nuAbKdxA6oRztVzA==/com.app-QHnu7vPd_WRuwBf0pOjYRQ==/base.apk!libjingle_peerconnection_so.so (offset 0x225c000) (BuildId: bc662912e660ccb2)
  #15 pc 00000000000ed098  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 7c95cc0d17d92058007afa23409fd94e)
  #16 pc 000000000008cb10  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c95cc0d17d92058007afa23409fd94e)
abhi-dasgupta commented 2 years ago

@Bharavi26 Hi, this is an issue with the flutter-webrtc package used in this project. Please downgrade 'flutter_webrtc' in your project via:

dependency_overrides:
  flutter_webrtc: 0.6.10+hotfix.1

this sorted this issue for me

Bharavi26 commented 2 years ago

Thank you @abhi-dasgupta sir, wokring now by downgrading webrtc version.