You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please confirm you have already done the following
I have searched the repository for related/existing bug reports
I have all the details the issue requires
Please answer the following prompt
This issue is replicable using the unmodified sample application
Describe the bug
Playing video streams on two pages of a browser in sequence can cause:Aborted (core dumped)。
When the second page is played, it has been ensured that the former has been closed。
I don't know if it was caused by network fluctuations, but it was indeed a very bad experience.
Expected Behavior
After the former is turned off, the latter can play my real-time video stream normally。
Current Behavior
2024-11-14 09:26:34.749 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:34.790 INFO lwsWssCallbackRoutine(): WSS callback with reason 9
2024-11-14 09:26:35.615 DEBUG receiveLwsMessage(): Client received message of type: SDP_OFFER
2024-11-14 09:26:35.615 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.628 PROFILE createPeerConnection(): [Create DTLS Session object] Time taken: 12 ms
2024-11-14 09:26:35.628 PROFILE createPeerConnection(): [Create connection listener] Time taken: 0 ms
2024-11-14 09:26:35.629 INFO iceAgentValidateKvsRtcConfig():
iceLocalCandidateGatheringTimeout: 10000 ms
iceConnectionCheckTimeout: 12000 ms
iceCandidateNominationTimeout: 12000 ms
iceConnectionCheckPollingInterval: 50 ms
2024-11-14 09:26:35.629 WARN onSetStunServerIp(): WebRTC Client object Object not initialized
2024-11-14 09:26:35.629 DEBUG onSetStunServerIp(): Exiting from stun server IP callback
2024-11-14 09:26:35.630 INFO getIpWithHostName(): ICE SERVER Hostname received: stun.kinesisvideo.cn-north-1.amazonaws.com.cn
2024-11-14 09:26:35.630 WARN getIpAddrFromDnsHostname(): Received unexpected hostname format: stun.kinesisvideo.cn-north-1.amazonaws.com.cn
2024-11-14 09:26:35.630 WARN getIpWithHostName(): Parsing for address failed for stun.kinesisvideo.cn-north-1.amazonaws.com.cn, fallback to getaddrinfo
2024-11-14 09:26:35.654 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.655 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.660 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.660 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.764 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.764 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.798 PROFILE parseIceServer(): ICE Server address for stun.kinesisvideo.cn-north-1.amazonaws.com.cn: 54.223.16.23
2024-11-14 09:26:35.799 PROFILE createIceAgent(): [ICE server parsing] Time taken: 169 ms
2024-11-14 09:26:35.799 PROFILE createPeerConnection(): [Create ICE agent object] Time taken: 170 ms
2024-11-14 09:26:35.799 PROFILE createPeerConnection(): [Peer connection object creation time] Time taken: 183 ms
2024-11-14 09:26:35.800 DEBUG handleOffer(): **offer:{"type":"offer","sdp":"v=0\r\no=- 1461018187625971324 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:p251\r\na=ice-pwd:TVPcE2uMcfxptHetAEcIFt2H\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5A:A0:B0:83:6A:90:A0:62:F2:4F:77:AA:D0:07:76:DD:DC:5D:DC:26:B5:46:11:AE:A5:7D:6E:30:4E:0D:17:7D\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 35 36 37 38 102 103 104 105 106 107 108 109 127 125 39 40 41 42 43 44 45 46 47 48 112 113 114 49\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:p251\r\na=ice-pwd:TVPcE2uMcfxptHetAEcIFt2H\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5A:A0:B0:83:6A:90:A0:62:F2:4F:77:AA:D0:07:76:DD:DC:5D:DC:26:B5:46:11:AE:A5:7D:6E:30:4E:0D:17:7D\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:35 VP9/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=fmtp:35 profile-id=1\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:37 VP9/90000\r\na=rtcp-fb:37 goog-remb\r\na=rtcp-fb:37 transport-cc\r\na=rtcp-fb:37 ccm fir\r\na=rtcp-fb:37 nack\r\na=rtcp-fb:37 nack pli\r\na=fmtp:37 profile-id=3\r\na=rtpmap:38 rtx/90000\r\na=fmtp:38 apt=37\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:103 rtx/90000\r\na=fmtp:103 apt=102\r\na=rtpmap:104 H264/90000\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 transport-cc\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=fmtp:104 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:105 rtx/90000\r\na=fmtp:105 apt=104\r\na=rtpmap:106 H264/90000\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\na=rtcp-fb:106 ccm fir\r\na=rtcp-fb:106 nack\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=106\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:39 H264/90000\r\na=rtcp-fb:39 goog-remb\r\na=rtcp-fb:39 transport-cc\r\na=rtcp-fb:39 ccm fir\r\na=rtcp-fb:39 nack\r\na=rtcp-fb:39 nack pli\r\na=fmtp:39 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f\r\na=rtpmap:40 rtx/90000\r\na=fmtp:40 apt=39\r\na=rtpmap:41 H264/90000\r\na=rtcp-fb:41 goog-remb\r\na=rtcp-fb:41 transport-cc\r\na=rtcp-fb:41 ccm fir\r\na=rtcp-fb:41 nack\r\na=rtcp-fb:41 nack pli\r\na=fmtp:41 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=f4001f\r\na=rtpmap:42 rtx/90000\r\na=fmtp:42 apt=41\r\na=rtpmap:43 H264/90000\r\na=rtcp-fb:43 goog-remb\r\na=rtcp-fb:43 transport-cc\r\na=rtcp-fb:43 ccm fir\r\na=rtcp-fb:43 nack\r\na=rtcp-fb:43 nack pli\r\na=fmtp:43 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=f4001f\r\na=rtpmap:44 rtx/90000\r\na=fmtp:44 apt=43\r\na=rtpmap:45 AV1/90000\r\na=rtcp-fb:45 goog-remb\r\na=rtcp-fb:45 transport-cc\r\na=rtcp-fb:45 ccm fir\r\na=rtcp-fb:45 nack\r\na=rtcp-fb:45 nack pli\r\na=fmtp:45 level-idx=5;profile=0;tier=0\r\na=rtpmap:46 rtx/90000\r\na=fmtp:46 apt=45\r\na=rtpmap:47 AV1/90000\r\na=rtcp-fb:47 goog-remb\r\na=rtcp-fb:47 transport-cc\r\na=rtcp-fb:47 ccm fir\r\na=rtcp-fb:47 nack\r\na=rtcp-fb:47 nack pli\r\na=fmtp:47 level-idx=5;profile=1;tier=0\r\na=rtpmap:48 rtx/90000\r\na=fmtp:48 apt=47\r\na=rtpmap:112 red/90000\r\na=rtpmap:113 rtx/90000\r\na=fmtp:113 apt=112\r\na=rtpmap:114 ulpfec/90000\r\na=rtpmap:49 flexfec-03/90000\r\na=rtcp-fb:49 goog-remb\r\na=rtcp-fb:49 transport-cc\r\na=fmtp:49 repair-window=10000000\r\n"}
2024-11-14 09:26:35.807 DEBUG iceAgentCheckConnectionStateSetup(): ice candidate pair count 0
2024-11-14 09:26:35.807 INFO stepIceAgentStateMachine(): Ice agent state changed from ICE_AGENT_STATE_NEW to ICE_AGENT_STATE_CHECK_CONNECTION.
2024-11-14 09:26:35.807 INFO onConnectionStateChange(): New connection state 2
2024-11-14 09:26:35.810 PROFILE iceAgentStartGathering(): [Host candidate gathering from local interfaces] Time taken: 0 ms
2024-11-14 09:26:35.812 DEBUG createSocketConnection(): create socket with ip: 192.168.3.247:58059. family:1
2024-11-14 09:26:35.812 PROFILE iceAgentStartGathering(): [Host candidates setup time] Time taken: 0 ms
2024-11-14 09:26:35.813 DEBUG createSocketConnection(): create socket with ip: 192.168.3.247:46224. family:1
2024-11-14 09:26:35.813 PROFILE iceAgentStartGathering(): [Srflx candidates setup time] Time taken: 0 ms
2024-11-14 09:26:35.813 PROFILE iceAgentStartGathering(): [Relay candidates setup time] Time taken: 0 ms
2024-11-14 09:26:35.815 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.815 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.818 DEBUG iceUtilsSendStunPacket(): Sending BINDING_REQUEST to ip:54.223.16.23, port:443
2024-11-14 09:26:35.818 DEBUG iceAgentLogNewCandidate(): New local ice candidate discovered. Id: VehcAzeiB. Ip: 192.168.3.247:58059. Type: host. Protocol: udp.
2024-11-14 09:26:35.818 DEBUG sendLwsMessage(): ICE_CANDIDATE
2024-11-14 09:26:35.818 DEBUG sendLwsMessage(): {"candidate":"candidate:0 1 udp 2130706431 192.168.3.247 58059 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
2024-11-14 09:26:35.818 DEBUG sendLwsMessage(): Sending data over web socket: Message type: ICE_CANDIDATE, RecepientId: invwxiz3qvg84uwvtn70jw
2024-11-14 09:26:35.818 INFO lwsWssCallbackRoutine(): WSS callback with reason 71
2024-11-14 09:26:35.818 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.821 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.822 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.822 DEBUG respondWithAnswer(): Responding With Answer With correlationId: 17315763958227497_0
2024-11-14 09:26:35.822 DEBUG sendLwsMessage(): SDP_ANSWER
2024-11-14 09:26:35.822 DEBUG sendLwsMessage(): {"type": "answer", "sdp": "v=0\r\no=- 798004556 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=ice-options:trickle\r\na=msid-semantic: WMS myKvsVideoStream\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=candidate:0 1 udp 2130706431 192.168.3.247 58059 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999\r\na=msid:myKvsVideoStream myAudioTrack\r\na=ssrc:612024406 cname:CJyeQz6xhqKnu55N\r\na=ssrc:612024406 msid:myKvsVideoStream myAudioTrack\r\na=ssrc:612024406 mslabel:myKvsVideoStream\r\na=ssrc:612024406 label:myAudioTrack\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R61U\r\na=ice-pwd:XkkO64nKULeqjq7x/xlUjl3Z\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7C:FC:02:8A:48:90:3C:35:C5:73:8D:D2:CA:7B:E3:25:6D:F5:46:EA:FC:81:DB:02:00:B6:60:6B:24:24:FA:16\r\na=setup:active\r\na=mid:0\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=ssrc:612024406 cname:CJyeQz6xhqKnu55N\r\na=ssrc:612024406 msid:myKvsVideoStream myAudioTrack\r\na=rtcp-fb:111 goog-remb\r\na=rtcp-fb:111 transport-cc\r\nm=video 9 UDP/TLS/RTP/SAVPF 106\r\nc=IN IP4 127.0.0.1\r\na=candidate:0 1 udp 2130706431 192.168.3.247 58059 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999\r\na=msid:myKvsVideoStream myVideoTrack\r\na=ssrc:519811614 cname:CJyeQz6xhqKnu55N\r\na=ssrc:519811614 msid:myKvsVideoStream myVideoTrack\r\na=ssrc:519811614 mslabel:myKvsVideoStream\r\na=ssrc:519811614 label:myVideoTrack\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R61U\r\na=ice-pwd:XkkO64nKULeqjq7x/xlUjl3Z\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7C:FC:02:8A:48:90:3C:35:C5:73:8D:D2:CA:7B:E3:25:6D:F5:46:EA:FC:81:DB:02:00:B6:60:6B:24:24:FA:16\r\na=setup:active\r\na=mid:1\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:106 H264/90000\r\na=rtcp-fb:106 nack pli\r\na=rtcp-fb:106 nack pli\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=ssrc:519811614 cname:CJyeQz6xhqKnu55N\r\na=ssrc:519811614 msid:myKvsVideoStream myVideoTrack\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\n"}
2024-11-14 09:26:35.824 DEBUG sendLwsMessage(): Sending data over web socket: Message type: SDP_ANSWER, RecepientId: invwxiz3qvg84uwvtn70jw
2024-11-14 09:26:35.824 INFO lwsWssCallbackRoutine(): WSS callback with reason 71
2024-11-14 09:26:35.824 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.825 PROFILE signalingSendMessageSync(): [Offer Received to Answer Sent time] Time taken: 210 ms
2024-11-14 09:26:35.825 PROFILE sendSignalingMessage(): [Signaling offer received to answer sent time] 210 ms
2024-11-14 09:26:35.825 DEBUG addIceCandidate(): candidate:1991875177 1 udp 2113937151 d29d9c5d-21ed-48e7-9d8e-dd1ecec5c34e.local 51496 typ host generation 0 ufrag p251 network-cost 999
2024-11-14 09:26:35.825 ERROR iceAgentAddRemoteCandidate(): operation returned status code: 0x5a000003
2024-11-14 09:26:35.826 DEBUG addIceCandidate(): candidate:1991875177 1 udp 2113937151 d29d9c5d-21ed-48e7-9d8e-dd1ecec5c34e.local 51498 typ host generation 0 ufrag p251 network-cost 999
2024-11-14 09:26:35.826 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.827 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.827 ERROR iceAgentAddRemoteCandidate(): operation returned status code: 0x5a000003
*** Error in `./amazon_kvs_service': double free or corruption (out): 0x0000007f64300120 ***
Aborted (core dumped)
Reproduction Steps
After ensuring that the browser is playing the video stream properly, close the browser and then reopen it to play the video stream (this phenomenon may occasionally occur)
WebRTC C SDK version being used
1.11.0
If it was working in a previous version, which one?
Neither 1.10.2 nor 1.11.0 works
Compiler and Version used
gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu
Operating System and version
Linux 2004LTS x86
Platform being used
aarch64
The text was updated successfully, but these errors were encountered:
Please confirm you have already done the following
Please answer the following prompt
Describe the bug
Playing video streams on two pages of a browser in sequence can cause:Aborted (core dumped)。
When the second page is played, it has been ensured that the former has been closed。
I don't know if it was caused by network fluctuations, but it was indeed a very bad experience.
Expected Behavior
After the former is turned off, the latter can play my real-time video stream normally。
Current Behavior
2024-11-14 09:26:34.749 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:34.790 INFO lwsWssCallbackRoutine(): WSS callback with reason 9
2024-11-14 09:26:35.615 DEBUG receiveLwsMessage(): Client received message of type: SDP_OFFER
2024-11-14 09:26:35.615 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.628 PROFILE createPeerConnection(): [Create DTLS Session object] Time taken: 12 ms
2024-11-14 09:26:35.628 PROFILE createPeerConnection(): [Create connection listener] Time taken: 0 ms
2024-11-14 09:26:35.629 INFO iceAgentValidateKvsRtcConfig():
iceLocalCandidateGatheringTimeout: 10000 ms
iceConnectionCheckTimeout: 12000 ms
iceCandidateNominationTimeout: 12000 ms
iceConnectionCheckPollingInterval: 50 ms
2024-11-14 09:26:35.629 WARN onSetStunServerIp(): WebRTC Client object Object not initialized
2024-11-14 09:26:35.629 DEBUG onSetStunServerIp(): Exiting from stun server IP callback
2024-11-14 09:26:35.630 INFO getIpWithHostName(): ICE SERVER Hostname received: stun.kinesisvideo.cn-north-1.amazonaws.com.cn
2024-11-14 09:26:35.630 WARN getIpAddrFromDnsHostname(): Received unexpected hostname format: stun.kinesisvideo.cn-north-1.amazonaws.com.cn
2024-11-14 09:26:35.630 WARN getIpWithHostName(): Parsing for address failed for stun.kinesisvideo.cn-north-1.amazonaws.com.cn, fallback to getaddrinfo
2024-11-14 09:26:35.654 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.655 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.660 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.660 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.764 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.764 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.798 PROFILE parseIceServer(): ICE Server address for stun.kinesisvideo.cn-north-1.amazonaws.com.cn: 54.223.16.23
2024-11-14 09:26:35.799 PROFILE createIceAgent(): [ICE server parsing] Time taken: 169 ms
2024-11-14 09:26:35.799 PROFILE createPeerConnection(): [Create ICE agent object] Time taken: 170 ms
2024-11-14 09:26:35.799 PROFILE createPeerConnection(): [Peer connection object creation time] Time taken: 183 ms
2024-11-14 09:26:35.800 DEBUG handleOffer(): **offer:{"type":"offer","sdp":"v=0\r\no=- 1461018187625971324 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 9 0 8 13 110 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:p251\r\na=ice-pwd:TVPcE2uMcfxptHetAEcIFt2H\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5A:A0:B0:83:6A:90:A0:62:F2:4F:77:AA:D0:07:76:DD:DC:5D:DC:26:B5:46:11:AE:A5:7D:6E:30:4E:0D:17:7D\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 35 36 37 38 102 103 104 105 106 107 108 109 127 125 39 40 41 42 43 44 45 46 47 48 112 113 114 49\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:p251\r\na=ice-pwd:TVPcE2uMcfxptHetAEcIFt2H\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5A:A0:B0:83:6A:90:A0:62:F2:4F:77:AA:D0:07:76:DD:DC:5D:DC:26:B5:46:11:AE:A5:7D:6E:30:4E:0D:17:7D\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:35 VP9/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=fmtp:35 profile-id=1\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:37 VP9/90000\r\na=rtcp-fb:37 goog-remb\r\na=rtcp-fb:37 transport-cc\r\na=rtcp-fb:37 ccm fir\r\na=rtcp-fb:37 nack\r\na=rtcp-fb:37 nack pli\r\na=fmtp:37 profile-id=3\r\na=rtpmap:38 rtx/90000\r\na=fmtp:38 apt=37\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:103 rtx/90000\r\na=fmtp:103 apt=102\r\na=rtpmap:104 H264/90000\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 transport-cc\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=fmtp:104 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:105 rtx/90000\r\na=fmtp:105 apt=104\r\na=rtpmap:106 H264/90000\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\na=rtcp-fb:106 ccm fir\r\na=rtcp-fb:106 nack\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=106\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:39 H264/90000\r\na=rtcp-fb:39 goog-remb\r\na=rtcp-fb:39 transport-cc\r\na=rtcp-fb:39 ccm fir\r\na=rtcp-fb:39 nack\r\na=rtcp-fb:39 nack pli\r\na=fmtp:39 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f\r\na=rtpmap:40 rtx/90000\r\na=fmtp:40 apt=39\r\na=rtpmap:41 H264/90000\r\na=rtcp-fb:41 goog-remb\r\na=rtcp-fb:41 transport-cc\r\na=rtcp-fb:41 ccm fir\r\na=rtcp-fb:41 nack\r\na=rtcp-fb:41 nack pli\r\na=fmtp:41 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=f4001f\r\na=rtpmap:42 rtx/90000\r\na=fmtp:42 apt=41\r\na=rtpmap:43 H264/90000\r\na=rtcp-fb:43 goog-remb\r\na=rtcp-fb:43 transport-cc\r\na=rtcp-fb:43 ccm fir\r\na=rtcp-fb:43 nack\r\na=rtcp-fb:43 nack pli\r\na=fmtp:43 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=f4001f\r\na=rtpmap:44 rtx/90000\r\na=fmtp:44 apt=43\r\na=rtpmap:45 AV1/90000\r\na=rtcp-fb:45 goog-remb\r\na=rtcp-fb:45 transport-cc\r\na=rtcp-fb:45 ccm fir\r\na=rtcp-fb:45 nack\r\na=rtcp-fb:45 nack pli\r\na=fmtp:45 level-idx=5;profile=0;tier=0\r\na=rtpmap:46 rtx/90000\r\na=fmtp:46 apt=45\r\na=rtpmap:47 AV1/90000\r\na=rtcp-fb:47 goog-remb\r\na=rtcp-fb:47 transport-cc\r\na=rtcp-fb:47 ccm fir\r\na=rtcp-fb:47 nack\r\na=rtcp-fb:47 nack pli\r\na=fmtp:47 level-idx=5;profile=1;tier=0\r\na=rtpmap:48 rtx/90000\r\na=fmtp:48 apt=47\r\na=rtpmap:112 red/90000\r\na=rtpmap:113 rtx/90000\r\na=fmtp:113 apt=112\r\na=rtpmap:114 ulpfec/90000\r\na=rtpmap:49 flexfec-03/90000\r\na=rtcp-fb:49 goog-remb\r\na=rtcp-fb:49 transport-cc\r\na=fmtp:49 repair-window=10000000\r\n"}
2024-11-14 09:26:35.807 DEBUG iceAgentCheckConnectionStateSetup(): ice candidate pair count 0
2024-11-14 09:26:35.807 INFO stepIceAgentStateMachine(): Ice agent state changed from ICE_AGENT_STATE_NEW to ICE_AGENT_STATE_CHECK_CONNECTION.
2024-11-14 09:26:35.807 INFO onConnectionStateChange(): New connection state 2
2024-11-14 09:26:35.810 PROFILE iceAgentStartGathering(): [Host candidate gathering from local interfaces] Time taken: 0 ms
2024-11-14 09:26:35.812 DEBUG createSocketConnection(): create socket with ip: 192.168.3.247:58059. family:1
2024-11-14 09:26:35.812 PROFILE iceAgentStartGathering(): [Host candidates setup time] Time taken: 0 ms
2024-11-14 09:26:35.813 DEBUG createSocketConnection(): create socket with ip: 192.168.3.247:46224. family:1
2024-11-14 09:26:35.813 PROFILE iceAgentStartGathering(): [Srflx candidates setup time] Time taken: 0 ms
2024-11-14 09:26:35.813 PROFILE iceAgentStartGathering(): [Relay candidates setup time] Time taken: 0 ms
2024-11-14 09:26:35.815 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.815 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.818 DEBUG iceUtilsSendStunPacket(): Sending BINDING_REQUEST to ip:54.223.16.23, port:443
2024-11-14 09:26:35.818 DEBUG iceAgentLogNewCandidate(): New local ice candidate discovered. Id: VehcAzeiB. Ip: 192.168.3.247:58059. Type: host. Protocol: udp.
2024-11-14 09:26:35.818 DEBUG sendLwsMessage(): ICE_CANDIDATE
2024-11-14 09:26:35.818 DEBUG sendLwsMessage(): {"candidate":"candidate:0 1 udp 2130706431 192.168.3.247 58059 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
2024-11-14 09:26:35.818 DEBUG sendLwsMessage(): Sending data over web socket: Message type: ICE_CANDIDATE, RecepientId: invwxiz3qvg84uwvtn70jw
2024-11-14 09:26:35.818 INFO lwsWssCallbackRoutine(): WSS callback with reason 71
2024-11-14 09:26:35.818 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.821 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.822 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.822 DEBUG respondWithAnswer(): Responding With Answer With correlationId: 17315763958227497_0
2024-11-14 09:26:35.822 DEBUG sendLwsMessage(): SDP_ANSWER
2024-11-14 09:26:35.822 DEBUG sendLwsMessage(): {"type": "answer", "sdp": "v=0\r\no=- 798004556 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=ice-options:trickle\r\na=msid-semantic: WMS myKvsVideoStream\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 127.0.0.1\r\na=candidate:0 1 udp 2130706431 192.168.3.247 58059 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999\r\na=msid:myKvsVideoStream myAudioTrack\r\na=ssrc:612024406 cname:CJyeQz6xhqKnu55N\r\na=ssrc:612024406 msid:myKvsVideoStream myAudioTrack\r\na=ssrc:612024406 mslabel:myKvsVideoStream\r\na=ssrc:612024406 label:myAudioTrack\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R61U\r\na=ice-pwd:XkkO64nKULeqjq7x/xlUjl3Z\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7C:FC:02:8A:48:90:3C:35:C5:73:8D:D2:CA:7B:E3:25:6D:F5:46:EA:FC:81:DB:02:00:B6:60:6B:24:24:FA:16\r\na=setup:active\r\na=mid:0\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=ssrc:612024406 cname:CJyeQz6xhqKnu55N\r\na=ssrc:612024406 msid:myKvsVideoStream myAudioTrack\r\na=rtcp-fb:111 goog-remb\r\na=rtcp-fb:111 transport-cc\r\nm=video 9 UDP/TLS/RTP/SAVPF 106\r\nc=IN IP4 127.0.0.1\r\na=candidate:0 1 udp 2130706431 192.168.3.247 58059 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999\r\na=msid:myKvsVideoStream myVideoTrack\r\na=ssrc:519811614 cname:CJyeQz6xhqKnu55N\r\na=ssrc:519811614 msid:myKvsVideoStream myVideoTrack\r\na=ssrc:519811614 mslabel:myKvsVideoStream\r\na=ssrc:519811614 label:myVideoTrack\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:R61U\r\na=ice-pwd:XkkO64nKULeqjq7x/xlUjl3Z\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7C:FC:02:8A:48:90:3C:35:C5:73:8D:D2:CA:7B:E3:25:6D:F5:46:EA:FC:81:DB:02:00:B6:60:6B:24:24:FA:16\r\na=setup:active\r\na=mid:1\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:106 H264/90000\r\na=rtcp-fb:106 nack pli\r\na=rtcp-fb:106 nack pli\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=ssrc:519811614 cname:CJyeQz6xhqKnu55N\r\na=ssrc:519811614 msid:myKvsVideoStream myVideoTrack\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\n"}
2024-11-14 09:26:35.824 DEBUG sendLwsMessage(): Sending data over web socket: Message type: SDP_ANSWER, RecepientId: invwxiz3qvg84uwvtn70jw
2024-11-14 09:26:35.824 INFO lwsWssCallbackRoutine(): WSS callback with reason 71
2024-11-14 09:26:35.824 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.825 PROFILE signalingSendMessageSync(): [Offer Received to Answer Sent time] Time taken: 210 ms
2024-11-14 09:26:35.825 PROFILE sendSignalingMessage(): [Signaling offer received to answer sent time] 210 ms
2024-11-14 09:26:35.825 DEBUG addIceCandidate(): candidate:1991875177 1 udp 2113937151 d29d9c5d-21ed-48e7-9d8e-dd1ecec5c34e.local 51496 typ host generation 0 ufrag p251 network-cost 999
2024-11-14 09:26:35.825 ERROR iceAgentAddRemoteCandidate(): operation returned status code: 0x5a000003
2024-11-14 09:26:35.826 DEBUG addIceCandidate(): candidate:1991875177 1 udp 2113937151 d29d9c5d-21ed-48e7-9d8e-dd1ecec5c34e.local 51498 typ host generation 0 ufrag p251 network-cost 999
2024-11-14 09:26:35.826 DEBUG receiveLwsMessage(): Client received message of type: ICE_CANDIDATE
2024-11-14 09:26:35.827 DEBUG lwsWssCallbackRoutine(): Client is writable
2024-11-14 09:26:35.827 ERROR iceAgentAddRemoteCandidate(): operation returned status code: 0x5a000003
*** Error in `./amazon_kvs_service': double free or corruption (out): 0x0000007f64300120 ***
Aborted (core dumped)
Reproduction Steps
After ensuring that the browser is playing the video stream properly, close the browser and then reopen it to play the video stream (this phenomenon may occasionally occur)
WebRTC C SDK version being used
1.11.0
If it was working in a previous version, which one?
Neither 1.10.2 nor 1.11.0 works
Compiler and Version used
gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu
Operating System and version
Linux 2004LTS x86
Platform being used
aarch64
The text was updated successfully, but these errors were encountered: