ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
125 stars 111 forks source link

No audio from other end in video call #166

Closed GuleriaAshish closed 3 years ago

GuleriaAshish commented 3 years ago

I am using connectyCube video chat sample in my project and i have completed all the process initializing the app and creating sessions.

Versions Used: React Native: 0.63.2 react-native-connectycube: 3.7.2

The problem arises when we start a call and started speaking , then caller is audible to receiver but receiver is not audible to caller.

Please find below the logs for better understanding: params=== {"opponentsIds": [2977056]} VideoScreen@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:304501:36 StaticContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:103553:17 EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:102218:24 SceneView@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:103444:22 RCTView RCTView RCTView CardSheet@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:115677:23 RCTView AnimatedComponent@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:61335:24 AnimatedComponentWrapper PanGestureHandler@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:108357:38 PanGestureHandler@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:107528:34 RCTView AnimatedComponent@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:61335:24 AnimatedComponentWrapper RCTView Card@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:113108:36 CardContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:112793:22 RCTView MaybeScreen@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:111369:24 RCTView MaybeScreenContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:111338:23 CardStack@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:110868:36 KeyboardManager@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:115846:36 SafeAreaProviderCompat@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:116289:24 GestureHandlerRootView GestureHandlerRootView@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:324933:24 StackView@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:106784:36 StackNavigator@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:100449:32 Navigator EnsureSingleNavigator@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:102218:24 BaseNavigationContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:101886:28 ThemeProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:105939:21 NavigationContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:105845:26 NetworkProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:321499:36 Provider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:166708:21 RNCSafeAreaProvider SafeAreaProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:107318:24 App@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:98409:36 RCTView RCTView AppContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:67617:22 [Fri Dec 11 2020 21:25:08.372] LOG [Chat] RECV: 0c6ec28e6-03d7-42cd-8405-8efab7665321129770562975760v=0 o=- 8874097680394293949 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS 6E6A9E02-E53E-47EF-B82E-96DE1BD41546 m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:112 telephone-event/32000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:187918468 cname:cK2Eu+ABqm/b7sue a=ssrc:187918468 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F a=ssrc:187918468 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:187918468 label:5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 123 125 122 124 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:video a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07 a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c34 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 H264/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e034 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:100 VP8/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=rtpmap:123 rtx/90000 a=fmtp:123 apt=127 a=rtpmap:125 red/90000 a=rtpmap:122 rtx/90000 a=fmtp:122 apt=125 a=rtpmap:124 ulpfec/90000 a=ssrc-group:FID 2677328284 386733400 a=ssrc:2677328284 cname:cK2Eu+ABqm/b7sue a=ssrc:2677328284 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:2677328284 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:2677328284 label:729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 cname:cK2Eu+ABqm/b7sue a=ssrc:386733400 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:386733400 label:729F824C-DF47-410B-BF1C-587A019C58EB WebRTCVideoChatcallweb [Fri Dec 11 2020 21:25:08.374] LOG [VideoChat]: onCall. UserID:2977056. SessionID: c6ec28e6-03d7-42cd-8405-8efab7665321. extension: [Fri Dec 11 2020 21:25:08.382] LOG [VideoChat]: _createPeer, iceServers: {"iceServers":[{"urls":"stun:stun.l.google.com:19302","url":"stun:stun.l.google.com:19302"},{"urls":"stun:turn.connectycube.com","url":"stun:turn.connectycube.com"},{"urls":"turn:turn.connectycube.com:5349?transport=udp","username":"connectycube","credential":"4c29501ca9207b7fb9c4b4b6b04faeb1","url":"turn:turn.connectycube.com:5349?transport=udp"},{"urls":"turn:turn.connectycube.com:5349?transport=tcp","username":"connectycube","credential":"4c29501ca9207b7fb9c4b4b6b04faeb1","url":"turn:turn.connectycube.com:5349?transport=tcp"}]} [Fri Dec 11 2020 21:25:08.382] LOG [VideoChat]: RTCPeerConnection init. userID: 2977056, sessionID: c6ec28e6-03d7-42cd-8405-8efab7665321, type: answer

[Fri Dec 11 2020 21:25:13.780] LOG [Chat] RECV: 0c6ec28e6-03d7-42cd-8405-8efab7665321129770562975760v=0 o=- 8874097680394293949 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS 6E6A9E02-E53E-47EF-B82E-96DE1BD41546 m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:112 telephone-event/32000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:187918468 cname:cK2Eu+ABqm/b7sue a=ssrc:187918468 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F a=ssrc:187918468 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:187918468 label:5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 123 125 122 124 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:video a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07 a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c34 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 H264/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e034 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:100 VP8/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=rtpmap:123 rtx/90000 a=fmtp:123 apt=127 a=rtpmap:125 red/90000 a=rtpmap:122 rtx/90000 a=fmtp:122 apt=125 a=rtpmap:124 ulpfec/90000 a=ssrc-group:FID 2677328284 386733400 a=ssrc:2677328284 cname:cK2Eu+ABqm/b7sue a=ssrc:2677328284 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:2677328284 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:2677328284 label:729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 cname:cK2Eu+ABqm/b7sue a=ssrc:386733400 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:386733400 label:729F824C-DF47-410B-BF1C-587A019C58EB WebRTCVideoChatcallweb [Fri Dec 11 2020 21:25:13.800] LOG [VideoChat]: onCall. UserID:2977056. SessionID: c6ec28e6-03d7-42cd-8405-8efab7665321. extension: [Fri Dec 11 2020 21:25:18.890] LOG [Chat] RECV: 0c6ec28e6-03d7-42cd-8405-8efab7665321129770562975760v=0 o=- 8874097680394293949 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS 6E6A9E02-E53E-47EF-B82E-96DE1BD41546 m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:112 telephone-event/32000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:187918468 cname:cK2Eu+ABqm/b7sue a=ssrc:187918468 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F a=ssrc:187918468 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:187918468 label:5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 123 125 122 124 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:video a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07 a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c34 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 H264/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e034 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:100 VP8/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=rtpmap:123 rtx/90000 a=fmtp:123 apt=127 a=rtpmap:125 red/90000 a=rtpmap:122 rtx/90000 a=fmtp:122 apt=125 a=rtpmap:124 ulpfec/90000 a=ssrc-group:FID 2677328284 386733400 a=ssrc:2677328284 cname:cK2Eu+ABqm/b7sue a=ssrc:2677328284 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:2677328284 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:2677328284 label:729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 cname:cK2Eu+ABqm/b7sue a=ssrc:386733400 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:386733400 label:729F824C-DF47-410B-BF1C-587A019C58EB WebRTCVideoChatcallweb [Fri Dec 11 2020 21:25:18.900] LOG [VideoChat]: onCall. UserID:2977056. SessionID: c6ec28e6-03d7-42cd-8405-8efab7665321. extension: [Fri Dec 11 2020 21:25:19.374] LOG [VideoChat]: Accept, extension: {}

[Fri Dec 11 2020 21:25:19.667] LOG [VideoChat]: onSignalingStateCallback: have-remote-offer [Fri Dec 11 2020 21:25:19.711] ERROR Warning: ToolBar.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined. in ToolBar (at videoCallScreen/index.js:233) in RCTView (at View.js:34) in View (at SafeAreaView.js:41) in ForwardRef(SafeAreaView) (at videoCallScreen/index.js:220) in VideoScreen (at SceneView.tsx:122) in StaticContainer in StaticContainer (at SceneView.tsx:115) in EnsureSingleNavigator (at SceneView.tsx:114) in SceneView (at useDescriptors.tsx:150) in RCTView (at View.js:34) in View (at CardContainer.tsx:222) in RCTView (at View.js:34) in View (at CardContainer.tsx:221) in RCTView (at View.js:34) in View (at CardSheet.tsx:33) in ForwardRef(CardSheet) (at Card.tsx:573) in RCTView (at View.js:34) in View (at createAnimatedComponent.js:165) in AnimatedComponent (at createAnimatedComponent.js:215) in ForwardRef(AnimatedComponentWrapper) (at Card.tsx:555) in PanGestureHandler (at GestureHandlerNative.tsx:13) in PanGestureHandler (at Card.tsx:549) in RCTView (at View.js:34) in View (at createAnimatedComponent.js:165) in AnimatedComponent (at createAnimatedComponent.js:215) in ForwardRef(AnimatedComponentWrapper) (at Card.tsx:544) in RCTView (at View.js:34) in View (at Card.tsx:538) in Card (at CardContainer.tsx:190) in CardContainer (at CardStack.tsx:623) in RCTView (at View.js:34) in View (at Screens.tsx:84) in MaybeScreen (at CardStack.tsx:616) in RCTView (at View.js:34) in View (at Screens.tsx:54) in MaybeScreenContainer (at CardStack.tsx:498) in CardStack (at StackView.tsx:462) in KeyboardManager (at StackView.tsx:458) in SafeAreaProviderCompat (at StackView.tsx:455) in GestureHandlerRootView (at GestureHandlerRootView.android.js:31) in GestureHandlerRootView (at StackView.tsx:454) in StackView (at createStackNavigator.tsx:87) in StackNavigator (at AppNavigator.js:345) in Navigator (at App.js:146) in EnsureSingleNavigator (at BaseNavigationContainer.tsx:396) in ForwardRef(BaseNavigationContainer) (at NavigationContainer.tsx:91) in ThemeProvider (at NavigationContainer.tsx:90) in ForwardRef(NavigationContainer) (at App.js:145) in NetworkProvider (at App.js:143) in Provider (at App.js:142) in RNCSafeAreaProvider (at SafeAreaContext.tsx:74) in SafeAreaProvider (at App.js:141) in App (at renderApplication.js:45) in RCTView (at View.js:34) in View (at AppContainer.js:106) in RCTView (at View.js:34) in View (at AppContainer.js:132) in AppContainer (at renderApplication.js:39) [Fri Dec 11 2020 21:25:19.850] LOG [VideoChat]: 'setRemoteSessionDescription' success [Fri Dec 11 2020 21:25:20.259] LOG [VideoChat]: onSignalingStateCallback: stable [Fri Dec 11 2020 21:25:20.338] LOG [Chat] SENT: c6ec28e6-03d7-42cd-8405-8efab7665321129770562975760v=0 o=- 2288499124491440160 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS 431282ca-efd4-45fe-b809-50f9e138efc6 m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:F43m a=ice-pwd:13L2IB+0htxn+nIwz/M9fjT3 a=ice-options:trickle renomination a=fingerprint:sha-256 A9:1F:89:43:EA:84:5C:0B:C4:CA:65:57:E6:7D:99:F5:D7:A3:03:9F:8D:66:C3:A3:B9:E6:02:6D:4B:21:7E:3C a=setup:active a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=recvonly a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:112 telephone-event/32000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 m=video 9 UDP/TLS/RTP/SAVPF 98 99 100 101 127 123 125 122 124 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:F43m a=ice-pwd:13L2IB+0htxn+nIwz/M9fjT3 a=ice-options:trickle renomination a=fingerprint:sha-256 A9:1F:89:43:EA:84:5C:0B:C4:CA:65:57:E6:7D:99:F5:D7:A3:03:9F:8D:66:C3:A3:B9:E6:02:6D:4B:21:7E:3C a=setup:active a=mid:video a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07 a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:98 H264/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:100 VP8/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=rtpmap:123 rtx/90000 a=fmtp:123 apt=127 a=rtpmap:125 red/90000 a=rtpmap:122 rtx/90000 a=fmtp:122 apt=125 a=rtpmap:124 ulpfec/90000 a=ssrc-group:FID 1351299986 1900437234 a=ssrc:1351299986 cname:573ATcPQjFz3sP9i a=ssrc:1351299986 msid:431282ca-efd4-45fe-b809-50f9e138efc6 ff6df9e7-ebc1-4a8d-b0cd-92955878db72 a=ssrc:1351299986 mslabel:431282ca-efd4-45fe-b809-50f9e138efc6 a=ssrc:1351299986 label:ff6df9e7-ebc1-4a8d-b0cd-92955878db72 a=ssrc:1900437234 cname:573ATcPQjFz3sP9i a=ssrc:1900437234 msid:431282ca-efd4-45fe-b809-50f9e138efc6 ff6df9e7-ebc1-4a8d-b0cd-92955878db72 a=ssrc:1900437234 mslabel:431282ca-efd4-45fe-b809-50f9e138efc6 a=ssrc:1900437234 label:ff6df9e7-ebc1-4a8d-b0cd-92955878db72 WebRTCVideoChatacceptweb [Fri Dec 11 2020 21:25:20.344] LOG [Chat] SENT: c6ec28e6-03d7-42cd-8405-8efab76653211297705629757600audiocandidate:1980850359 1 udp 2122260223 192.168.1.108 48182 typ host generation 0 ufrag F43m network-id 3 network-cost 10WebRTCVideoChaticeCandidatesweb [Fri Dec 11 2020 21:25:20.591] LOG [Chat] SENT: c6ec28e6-03d7-42cd-8405-8efab76653211297705629757600audiocandidate:842163049 1 udp 1686052607 117.208.81.20 17842 typ srflx raddr 192.168.1.108 rport 48182 generation 0 ufrag F43m network-id 3 network-cost 10WebRTCVideoChaticeCandidatesweb [Fri Dec 11 2020 21:25:21.923] LOG [VideoChat]: onIceConnectionStateCallback: connected [Fri Dec 11 2020 21:25:23.660] LOG [Chat] RECV: 0c6ec28e6-03d7-42cd-8405-8efab7665321129770562975760v=0 o=- 8874097680394293949 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS 6E6A9E02-E53E-47EF-B82E-96DE1BD41546 m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:112 telephone-event/32000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:187918468 cname:cK2Eu+ABqm/b7sue a=ssrc:187918468 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F a=ssrc:187918468 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:187918468 label:5159F379-B19D-4AF9-9DD9-E6CEBBCBA26F m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 123 125 122 124 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:sSQL a=ice-pwd:2Rvew5YP3JScgx8Xgb0ceXiu a=ice-options:trickle renomination a=fingerprint:sha-256 7A:AC:B5:19:8C:6A:1D:79:6E:56:A7:78:35:5E:6B:FA:1C:9B:70:B9:69:CB:6A:D6:7A:A3:A6:43:91:D6:61:0E a=setup:actpass a=mid:video a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07 a=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 H264/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c34 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 H264/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e034 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:100 VP8/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=rtpmap:123 rtx/90000 a=fmtp:123 apt=127 a=rtpmap:125 red/90000 a=rtpmap:122 rtx/90000 a=fmtp:122 apt=125 a=rtpmap:124 ulpfec/90000 a=ssrc-group:FID 2677328284 386733400 a=ssrc:2677328284 cname:cK2Eu+ABqm/b7sue a=ssrc:2677328284 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:2677328284 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:2677328284 label:729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 cname:cK2Eu+ABqm/b7sue a=ssrc:386733400 msid:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 729F824C-DF47-410B-BF1C-587A019C58EB a=ssrc:386733400 mslabel:6E6A9E02-E53E-47EF-B82E-96DE1BD41546 a=ssrc:386733400 label:729F824C-DF47-410B-BF1C-587A019C58EB WebRTCVideoChatcallweb [Fri Dec 11 2020 21:25:23.670] LOG [VideoChat]: onCall. UserID:2977056. SessionID: c6ec28e6-03d7-42cd-8405-8efab7665321. extension: [Fri Dec 11 2020 21:25:24.720] LOG [Chat] RECV: c6ec28e6-03d7-42cd-8405-8efab76653211297705629757600audiocandidate:2222700650 1 udp 2122260223 192.168.1.105 64332 typ host generation 0 ufrag sSQL network-id 1 network-cost 100audiocandidate:3342970955 1 udp 2122194687 169.254.107.204 52924 typ host generation 0 ufrag sSQL network-id 2 network-cost 101videocandidate:2222700650 1 udp 2122260223 192.168.1.105 62422 typ host generation 0 ufrag sSQL network-id 1 network-cost 101videocandidate:3342970955 1 udp 2122194687 169.254.107.204 58893 typ host generation 0 ufrag sSQL network-id 2 network-cost 100audiocandidate:3405268122 1 tcp 1518280447 192.168.1.105 53100 typ host tcptype passive generation 0 ufrag sSQL network-id 1 network-cost 100audiocandidate:2311212219 1 tcp 1518214911 169.254.107.204 53101 typ host tcptype passive generation 0 ufrag sSQL network-id 2 network-cost 101videocandidate:3405268122 1 tcp 1518280447 192.168.1.105 53102 typ host tcptype passive generation 0 ufrag sSQL network-id 1 network-cost 101videocandidate:2311212219 1 tcp 1518214911 169.254.107.204 53103 typ host tcptype passive generation 0 ufrag sSQL network-id 2 network-cost 101videocandidate:87277278 1 udp 1686052607 117.208.81.20 17836 typ srflx raddr 192.168.1.105 rport 62422 generation 0 ufrag sSQL network-id 1 network-cost 100audiocandidate:87277278 1 udp 1686052607 117.208.81.20 17837 typ srflx raddr 192.168.1.105 rport 64332 generation 0 ufrag sSQL network-id 1 network-cost 100audiocandidate:2532103853 1 udp 25108223 35.158.208.53 33114 typ relay raddr 117.208.81.20 rport 17838 generation 0 ufrag sSQL network-id 1 network-cost 101videocandidate:1940454297 1 udp 25108223 3.121.84.95 39535 typ relay raddr 117.208.81.20 rport 17839 generation 0 ufrag sSQL network-id 1 network-cost 100audiocandidate:3631163997 1 udp 41885695 35.158.208.53 63941 typ relay raddr 117.208.81.20 rport 17837 generation 0 ufrag sSQL network-id 1 network-cost 101videocandidate:1026230121 1 udp 41885695 3.121.84.95 44822 typ relay raddr 117.208.81.20 rport 17836 generation 0 ufrag sSQL network-id 1 network-cost 10WebRTCVideoChaticeCandidatesweb [Fri Dec 11 2020 21:25:24.740] LOG [VideoChat]: onIceCandidates. UserID:2977056. SessionID: c6ec28e6-03d7-42cd-8405-8efab7665321. ICE candidates count: 14

Please suggest what i am doing wrong.

ccvlad commented 3 years ago

Hi, @GuleriaAshish Are you using real devices for both call's participants? Use only devices instead of simulator/emulator.