作为小白用户编译就卡出各种问题。各种环境问题各种bug调试。

针对亚马逊的kvs 的vs2019编译去除kvs的信令服务器代码,实现自己的mqtt信令控制。最终可以p2p发送视频数据和音频数据。

编译环境如下:

编译系统:windows10 64

编译工具:vs2019

直接打开webrtc_answer_2019和webrtc_offer_2019目录的sln即可运行。连接mqtt服务器,交换媒体信息sdp和网络信息candidate之后,p2p传输视频和音频数据。音频数据20ms传输160字节,视频是H264文件读取出来传输。

下载地址:

AWSKVS(KinesisVideoStreams)之WebRTC的C库-直播技术文档类资源-CSDN下载

废话不多说直接上运行日志:

offer端的日志:

connect:121.41.51.180
rtc_sock_connect:0,1,121.41.51.180:1883
NetworkConnect:0
sock send:0,24,0
sendPacket:24,24,0
sock recv:1
sock recv:1
sock recv:2
readPacket mqttread n:2
rc from connect:0
sock send:0,43,0
sendPacket:43,43,0
sock recv:1
sock recv:1
sock recv:3
readPacket mqttread n:3
sock send:0,46,0
sendPacket:46,46,0
sock recv:1
sock recv:1
sock recv:3
readPacket mqttread n:3
sock send:0,45,0
sendPacket:45,45,0
sock recv:1
sock recv:1
sock recv:3
readPacket mqttread n:3
sock send:0,49,0
sendPacket:49,49,0
sock recv:1
sock recv:1
sock recv:45
readPacket mqttread n:45
WEBRTC_CLIENT Connection:[0159CCA0] prv:[00C54E20] videoTransCeiver:037FD150 audioTranseiver:03A322A8
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:192,168,56,1,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:192,168,2,164,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:172,30,104,1,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:169,254,241,247,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:169,254,248,192,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:2 address:0,0,0,0,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:127,0,0,1,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    socketBind(): bind() failed for ip address: 169.254.241.247, port 0 with errno 在其上下文中,该请求的地址无效。

2022-03-31 12:14:46 ERROR   createSocketConnection(): operation returned status code: 0x58000018
2022-03-31 12:14:46 WARN    socketBind(): bind() failed for ip address: 169.254.248.192, port 0 with errno 在其上下文中,该请求的地址无效。

2022-03-31 12:14:46 ERROR   createSocketConnection(): operation returned status code: 0x58000018
Create Offer... Ret:0 ========mqtt_comm_messageCallInArrived(7):CALL_IN
=======sock send:0,2662,0
sendPacket:2662,2662,0
2022-03-31 12:14:46 ERROR   iceUtilsSendData(): operation returned status code: 0x5800001a
2022-03-31 12:14:46 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x5800001a
2022-03-31 12:14:46 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x5800001a
2022-03-31 12:14:46 ERROR   iceUtilsSendData(): operation returned status code: 0x5800001a
2022-03-31 12:14:46 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x5800001a
2022-03-31 12:14:46 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x5800001a
WEBRTC_CLIENT Connection:[0159CCA0] receive candidate:{"candidate":"candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
CandidateCb:69 INFO WEBRTC[00C54E20] Candidate is Coming: {"candidate":"candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
sock send:0,198,0
sendPacket:198,198,0
WEBRTC_CLIENT Connection:[0159CCA0] receive candidate:{"candidate":"candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
CandidateCb:69 INFO WEBRTC[00C54E20] Candidate is Coming: {"candidate":"candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
sock send:0,199,0
sendPacket:199,199,0
WEBRTC_CLIENT Connection:[0159CCA0] receive candidate:{"candidate":"candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
CandidateCb:69 INFO WEBRTC[00C54E20] Candidate is Coming: {"candidate":"candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
sock send:0,198,0
sendPacket:198,198,0
2022-03-31 12:14:46 ERROR   iceUtilsSendData(): operation returned status code: 0x58000022
2022-03-31 12:14:46 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x58000022
2022-03-31 12:14:46 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x58000022
2022-03-31 12:14:46 ERROR   iceUtilsSendData(): operation returned status code: 0x58000022
2022-03-31 12:14:46 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x58000022
2022-03-31 12:14:46 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x58000022
WEBRTC_CLIENT Connection:[0159CCA0] receive candidate:{"candidate":"candidate:4 1 udp 1694498815 222.76.118.61 51196 typ srflx raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
CandidateCb:69 INFO WEBRTC[00C54E20] Candidate is Coming: {"candidate":"candidate:4 1 udp 1694498815 222.76.118.61 51196 typ srflx raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
sock send:0,200,0
sendPacket:200,200,0
WEBRTC_CLIENT Connection:[0159CCA0] receive candidate:(null)
CandidateCb:64 INFO WEBRTC[00C54E20] Candidate Ok
sock recv:1
sock recv:1
sock recv:1
sock recv:2657
readPacket mqttread n:2657
========mqtt_comm_messageAnswerSdpArrived(2616):v=0
o=- 15528 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1 2
a=msid-semantic: WMS myKvsVideoStream
m=audio 9 UDP/TLS/RTP/SAVPF 0
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:31864 cname:MblXDl8jY70FZKgO
a=ssrc:31864 msid:audioStream audioTrack
a=ssrc:31864 mslabel:audioStream
a=ssrc:31864 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:4969 cname:MblXDl8jY70FZKgO
a=ssrc:4969 msid:videoStream videoTrack
a=ssrc:4969 mslabel:videoStream
a=ssrc:4969 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:2
a=sctp-port:5000

=======webrtcHandAnswer:189 INFO pucAnswer:v=0
o=- 15528 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1 2
a=msid-semantic: WMS myKvsVideoStream
m=audio 9 UDP/TLS/RTP/SAVPF 0
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:31864 cname:MblXDl8jY70FZKgO
a=ssrc:31864 msid:audioStream audioTrack
a=ssrc:31864 mslabel:audioStream
a=ssrc:31864 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:4969 cname:MblXDl8jY70FZKgO
a=ssrc:4969 msid:videoStream videoTrack
a=ssrc:4969 mslabel:videoStream
a=ssrc:4969 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:2
a=sctp-port:5000

Handle Answer... Ret:0 2022-03-31 12:14:47 ERROR   iceUtilsSendData(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendData(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendData(): operation returned status code: 0x58000022
2022-03-31 12:14:47 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x58000022
2022-03-31 12:14:47 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x58000022
2022-03-31 12:14:47 ERROR   iceUtilsSendData(): operation returned status code: 0x58000022
2022-03-31 12:14:47 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x58000022
2022-03-31 12:14:47 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x58000022
ConnectStateChangeCb:122 INFO connectstatus:CONNECTING
2022-03-31 12:14:47 ERROR   deserializeStunPacket(): operation returned status code: 0x5700000e
WEBRTC_CLIENT Connection:[0159CCA0] prv:[00C54E20] StateChange
2022-03-31 12:14:47 ERROR   handleStunPacket(): operation returned status code: 0x5700000e
2022-03-31 12:14:47 ERROR   incomingDataHandler(): operation returned status code: 0x5700000e
2022-03-31 12:14:47 ERROR   deserializeStunPacket(): operation returned status code: 0x5700000e
2022-03-31 12:14:47 ERROR   handleStunPacket(): operation returned status code: 0x5700000e
2022-03-31 12:14:47 ERROR   incomingDataHandler(): operation returned status code: 0x5700000e
ConnectStateChangeCb:122 INFO connectstatus:CONNECTED
WEBRTC_CLIENT Connection:[0159CCA0] prv:[00C54E20] StateChange
sock recv:1
sock recv:1
sock recv:1
sock recv:195
readPacket mqttread n:195
========mqtt_comm_messagCandidateArrived(155):{"candidate":"candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:31864 cname:MblXDl8jY70FZKgO
a=ssrc:31864 msid:audioStream audioTrack
a=ssrc:31864 mslabel:audioStream
a=ssrc:31864 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:4969 cname:MblXDl8jY70FZKgO
a=ssrc:4969 msid:videoStream videoTrack
a=ssrc:4969 mslabel:videoStream
a=ssrc:4969 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:2
a=sctp-port:5000

=======sock recv:1
sock recv:1
sock recv:1
sock recv:196
readPacket mqttread n:196
========mqtt_comm_messagCandidateArrived(156):{"candidate":"candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:31864 cname:MblXDl8jY70FZKgO
a=ssrc:31864 msid:audioStream audioTrack
a=ssrc:31864 mslabel:audioStream
a=ssrc:31864 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:4969 cname:MblXDl8jY70FZKgO
a=ssrc:4969 msid:videoStream videoTrack
a=ssrc:4969 mslabel:videoStream
a=ssrc:4969 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:2
a=sctp-port:5000

=======sock recv:1
sock recv:1
sock recv:1
sock recv:195
readPacket mqttread n:195
========mqtt_comm_messagCandidateArrived(155):{"candidate":"candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}}.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:31864 cname:MblXDl8jY70FZKgO
a=ssrc:31864 msid:audioStream audioTrack
a=ssrc:31864 mslabel:audioStream
a=ssrc:31864 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:4969 cname:MblXDl8jY70FZKgO
a=ssrc:4969 msid:videoStream videoTrack
a=ssrc:4969 mslabel:videoStream
a=ssrc:4969 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:2
a=sctp-port:5000

=======sock recv:1
sock recv:1
sock recv:1
sock recv:197
readPacket mqttread n:197
========mqtt_comm_messagCandidateArrived(157):{"candidate":"candidate:4 1 udp 1694498815 222.76.118.61 51202 typ srflx raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:31864 cname:MblXDl8jY70FZKgO
a=ssrc:31864 msid:audioStream audioTrack
a=ssrc:31864 mslabel:audioStream
a=ssrc:31864 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:4969 cname:MblXDl8jY70FZKgO
a=ssrc:4969 msid:videoStream videoTrack
a=ssrc:4969 mslabel:videoStream
a=ssrc:4969 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=ice-options:trickle
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:gefe
a=ice-pwd:NlegFFr5wWH6+zzrN3qqgMPg
a=fingerprint:sha-256 3F:69:B8:63:B1:D3:E9:BA:05:EB:DA:FF:6B:CB:FD:C9:54:D3:28:85:B4:97:9A:DB:D4:E7:1D:44:7C:EF:E2:8E
a=setup:active
a=mid:2
a=sctp-port:5000

=======OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:160
OnVideoFrameCb:162 INFO recv Frame: Index:0/259741156 size:160 decodeTs:9600 pTs:9600 [fc 60 7b 5a ba 4f f1 3c]
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:548
OnVideoFrameCb:162 INFO recv Frame: Index:0/259741246 size:548 decodeTs:107999 pTs:107999 [0 0 0 1 9 30 0 0]
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:160
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:660
OnVideoFrameCb:162 INFO recv Frame: Index:0/259741246 size:660 decodeTs:109799 pTs:109799 [0 0 0 1 9 30 0 0]
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:160
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:431
OnVideoFrameCb:162 INFO recv Frame: Index:0/259741246 size:431 decodeTs:111599 pTs:111599 [0 0 0 1 9 30 0 0]
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:160
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:533
OnVideoFrameCb:162 INFO recv Frame: Index:0/259741246 size:533 decodeTs:113399 pTs:113399 [0 0 0 1 9 30 0 0]
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:160
OnVideoFrameCb:153 INFO answer OnSpeechFrameCb pstFrame:729

answer端的日志:

main_app:383 INFO Create Connectio....
2022-03-31 12:12:42 DEBUG   iceAgentValidateKvsRtcConfig():
change ticeLocalCandidateGatheringTimeout: 10000 ms
2022-03-31 12:12:42 DEBUG   iceAgentValidateKvsRtcConfig():
        iceConnectionCheckTimeout: 10000 ms
2022-03-31 12:12:42 DEBUG   iceAgentValidateKvsRtcConfig():
        iceCandidateNominationTimeout: 10000 ms
2022-03-31 12:12:42 DEBUG   iceAgentValidateKvsRtcConfig():
        iceConnectionCheckPollingInterval: 50 ms
WEBRTC_CLIENT Connection:[017659C8] prv:[01084F08] videoTransCeiver:03BD5578 audioTranseiver:03BD8328
connect:121.41.51.180
rtc_sock_connect:0,1,121.41.51.180:1883
NetworkConnect:0
sock send:0,24,0
sendPacket:24,24,0
sock recv:1
sock recv:1
sock recv:2
readPacket mqttread n:2
rc from connect:0
sock send:0,44,0
sendPacket:44,44,0
sock recv:1
sock recv:1
sock recv:3
readPacket mqttread n:3
sock send:0,45,0
sendPacket:45,45,0
sock recv:1
sock recv:1
sock recv:3
readPacket mqttread n:3
sock send:0,45,0
sendPacket:45,45,0
sock recv:1
sock recv:1
sock recv:3
readPacket mqttread n:3
sock send:0,2,0
sendPacket:2,2,0
send ping
sock recv:1
sock recv:1
recv ping
sock send:0,2,0
sendPacket:2,2,0
send ping
sock recv:1
sock recv:1
recv ping
sock recv:1
sock recv:1
sock recv:47
readPacket mqttread n:47
========mqtt_comm_messageCalloutArrived(8):CALL_OUT
=======sock send:0,47,0
sendPacket:47,47,0
sock recv:1
sock recv:1
sock recv:1
sock recv:2659
readPacket mqttread n:2659
========mqtt_comm_messageOfferSdpArrived(2619):v=0
o=- 26838 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1 2
a=msid-semantic: WMS myKvsVideoStream
m=audio 9 UDP/TLS/RTP/SAVPF 0
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:16625 cname:hJpzCBwNn5NcOJTx
a=ssrc:16625 msid:audioStream audioTrack
a=ssrc:16625 mslabel:audioStream
a=ssrc:16625 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:6349 cname:hJpzCBwNn5NcOJTx
a=ssrc:6349 msid:videoStream videoTrack
a=ssrc:6349 mslabel:videoStream
a=ssrc:6349 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:2
a=sctp-port:5000

=======Handle Offer. Gen Answer..
2022-03-31 12:14:46 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: pIGnor8hY. Ip: 172.30.104.1:51194. Type: host. Protocol: udp.
2022-03-31 12:14:46 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: AQ1s7q/To. Ip: 192.168.2.164:51193. Type: host. Protocol: udp.
2022-03-31 12:14:46 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: Mm4IxpSZz. Ip: 192.168.56.1:51192. Type: host. Protocol: udp.
2022-03-31 12:14:46 DEBUG   stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2022-03-31 12:14:46 DEBUG   iceAgentCheckConnectionStateSetup(): ice candidate pair count 0
2022-03-31 12:14:46 DEBUG   stepIceAgentStateMachine(): Ice agent state changed from ICE_AGENT_STATE_NONE to ICE_AGENT_STATE_CHECK_CONNECTION.
ConnectStateChangeCb:123 INFO connectstatus:CONNECTING
WEBRTC_CLIENT Connection:[017659C8] prv:[01084F08] StateChange
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:192,168,56,1,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:192,168,2,164,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:172,30,104,1,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:169,254,241,247,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:169,254,248,192,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:2 address:0,0,0,0,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 WARN    iceAgentStartGathering(): localNetworkInterface family:1 address:127,0,0,1,0,port:0,isPointToPoint:0
2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 WARN    socketBind(): bind() failed for ip address: 169.254.241.247, port 0 with errno 在其上下文中,该请求的地址无效。

2022-03-31 12:14:46 ERROR   createSocketConnection(): operation returned status code: 0x58000018
2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 WARN    socketBind(): bind() failed for ip address: 169.254.248.192, port 0 with errno 在其上下文中,该请求的地址无效。

2022-03-31 12:14:46 ERROR   createSocketConnection(): operation returned status code: 0x58000018
2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

2022-03-31 12:14:46 DEBUG   createSocket(): setsockopt() failed with errno 提供了一个无效的参数。

sock send:0,2660,0
sendPacket:2660,2660,0
sock recv:1
sock recv:1
sock recv:1
sock recv:195
readPacket mqttread n:195
========mqtt_comm_messagCandidateArrived(155):{"candidate":"candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:16625 cname:hJpzCBwNn5NcOJTx
a=ssrc:16625 msid:audioStream audioTrack
a=ssrc:16625 mslabel:audioStream
a=ssrc:16625 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:6349 cname:hJpzCBwNn5NcOJTx
a=ssrc:6349 msid:videoStream videoTrack
a=ssrc:6349 mslabel:videoStream
a=ssrc:6349 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:2
a=sctp-port:5000

=======2022-03-31 12:14:46 DEBUG   socketSendDataWithRetry(): sendto() failed with errno 向一个无法连接的网络尝试了一个套接字操作。

2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): Close socket 720
2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): Failed to send data. Bytes sent 0. Data len 28. Retry count 0
2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): Warning: Send data failed with 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendData(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x5800001a
2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): sendto() failed with errno 向一个无法连接的网络尝试了一个套接字操作。

2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): Close socket 712
2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): Failed to send data. Bytes sent 0. Data len 28. Retry count 0
2022-03-31 12:14:47 DEBUG   socketSendDataWithRetry(): Warning: Send data failed with 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendData(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 ERROR   iceUtilsSendStunPacket(): operation returned status code: 0x5800001a
2022-03-31 12:14:47 WARN    iceAgentSendStunPacket(): iceUtilsSendStunPacket failed with 0x5800001a
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New local ice candidate discovered. Id: rVdjlRnE7. Ip: 172.30.104.1:51200. Type: host. Protocol: udp.
sock recv:1
WEBRTC_CLIENT Connection:[017659C8] receive candidate:{"candidate":"candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
sock recv:1
2022-03-31 12:14:47 DEBUG   iceAgentCheckPeerReflexiveCandidate(): New remote peer reflexive candidate found
sock recv:1
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: fZ+4XiMkI. Ip: 192.168.2.164:51196. Type: prflx. Protocol: UNKNOWN.
sock recv:196
readPacket mqttread n:196
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: FO/q7l2Kk. Ip: 172.30.104.1:51200. Type: host. Protocol: udp.
========mqtt_comm_messagCandidateArrived(156):{"candidate":"candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:16625 cname:hJpzCBwNn5NcOJTx
a=ssrc:16625 msid:audioStream audioTrack
a=ssrc:16625 mslabel:audioStream
a=ssrc:16625 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:6349 cname:hJpzCBwNn5NcOJTx
a=ssrc:6349 msid:videoStream videoTrack
a=ssrc:6349 mslabel:videoStream
a=ssrc:6349 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:2
a=sctp-port:5000

=======CandidateCb:70 INFO WEBRTC[01084F08] Candidate is Coming: {"candidate":"candidate:2 1 udp 2130706431 172.30.104.1 51200 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
sock recv:1
2022-03-31 12:14:47 DEBUG   handleStunPacket(): Received STUN binding indication
sock send:0,198,0
sendPacket:198,198,0
sock recv:1
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New local ice candidate discovered. Id: uP0QAlKJ+. Ip: 192.168.2.164:51199. Type: host. Protocol: udp.
sock recv:1
WEBRTC_CLIENT Connection:[017659C8] receive candidate:{"candidate":"candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
sock recv:195
readPacket mqttread n:195
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: V+vscCdSR. Ip: 192.168.2.164:51199. Type: host. Protocol: udp.
========mqtt_comm_messagCandidateArrived(155):{"candidate":"candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}}1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:16625 cname:hJpzCBwNn5NcOJTx
a=ssrc:16625 msid:audioStream audioTrack
a=ssrc:16625 mslabel:audioStream
a=ssrc:16625 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:6349 cname:hJpzCBwNn5NcOJTx
a=ssrc:6349 msid:videoStream videoTrack
a=ssrc:6349 mslabel:videoStream
a=ssrc:6349 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:2
a=sctp-port:5000

=======CandidateCb:70 INFO WEBRTC[01084F08] Candidate is Coming: {"candidate":"candidate:1 1 udp 2130706431 192.168.2.164 51199 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
sock recv:1
2022-03-31 12:14:47 DEBUG   handleStunPacket(): received candidate with USE_CANDIDATE flag, local candidate type host.
sock send:0,199,0
sendPacket:199,199,0
sock recv:1
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New local ice candidate discovered. Id: HTEpEBNS+. Ip: 192.168.56.1:51198. Type: host. Protocol: udp.
sock recv:1
WEBRTC_CLIENT Connection:[017659C8] receive candidate:{"candidate":"candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
sock recv:197
readPacket mqttread n:197
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: qS+tThkJ8. Ip: 192.168.56.1:51198. Type: host. Protocol: udp.
CandidateCb:70 INFO WEBRTC[01084F08] Candidate is Coming: {"candidate":"candidate:0 1 udp 2130706431 192.168.56.1 51198 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0} , addStatus:0
========mqtt_comm_messagCandidateArrived(157):{"candidate":"candidate:4 1 udp 1694498815 222.76.118.61 51196 typ srflx raddr 0.0.0.0 rport 0 generation 0 network-cost 999","sdpMid":"0","sdpMLineIndex":0}
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:audioStream audioTrack
a=ssrc:16625 cname:hJpzCBwNn5NcOJTx
a=ssrc:16625 msid:audioStream audioTrack
a=ssrc:16625 mslabel:audioStream
a=ssrc:16625 label:audioTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:0
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:0 PCMU/8000
a=rtcp-fb:0 nack
m=video 9 UDP/TLS/RTP/SAVPF 125
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=msid:videoStream videoTrack
a=ssrc:6349 cname:hJpzCBwNn5NcOJTx
a=ssrc:6349 msid:videoStream videoTrack
a=ssrc:6349 mslabel:videoStream
a=ssrc:6349 label:videoTrack
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=ice-options:trickle
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:1
a=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:125 H264/90000
a=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:125 nack
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 127.0.0.1
a=candidate:2 1 udp 2130706431 172.30.104.1 51194 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:1 1 udp 2130706431 192.168.2.164 51193 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=candidate:0 1 udp 2130706431 192.168.56.1 51192 typ host raddr 0.0.0.0 rport 0 generation 0 network-cost 999
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:ZUvj
a=ice-pwd:qfR6r2wf8JfnmZdqreUz9Smz
a=fingerprint:sha-256 0F:BB:36:93:7D:88:30:44:84:B2:1B:D8:F0:F9:E2:93:68:9D:84:D3:E6:9D:47:69:32:37:AA:D1:28:EE:DA:7B
a=setup:actpass
a=mid:2
a=sctp-port:5000

=======sock send:0,198,0
2022-03-31 12:14:47 DEBUG   iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: fOeFAwsEG. Ip: 222.76.118.61:51196. Type: srflx. Protocol: udp.
sendPacket:198,198,0
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:192.168.56.1.0:65223 ,remote iceCandidateType:0,isRemote:1,ip:192.168.56.1.0:65223
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:192.168.2.164.0:65479 ,remote iceCandidateType:0,isRemote:1,ip:192.168.56.1.0:65223
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:172.30.104.1.0:200 ,remote iceCandidateType:0,isRemote:1,ip:192.168.56.1.0:65223
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:192.168.56.1.0:65223 ,remote iceCandidateType:0,isRemote:1,ip:192.168.2.164.0:65479
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:192.168.2.164.0:65479 ,remote iceCandidateType:0,isRemote:1,ip:192.168.2.164.0:65479
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:172.30.104.1.0:200 ,remote iceCandidateType:0,isRemote:1,ip:192.168.2.164.0:65479
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:192.168.56.1.0:65223 ,remote iceCandidateType:0,isRemote:1,ip:172.30.104.1.0:200
2022-03-31 12:14:47 DEBUG   fromCheckConnectionIceAgentState(): fromCheckConnectionIceAgentState local iceCandidateType:0,isRemote:0,ip:192.168.2.164.0:65479 ,remote iceCandidateType:0,isRemote:1,ip:172.30.104.1.0:200

GitHub - awslabs/amazon-kinesis-video-streams-webrtc-sdk-c: Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams. - GitHub - awslabs/amazon-kinesis-video-streams-webrtc-sdk-c: Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c

AWS KVS(Kinesis Video Streams)之WebRTC的C库相关推荐

  1. AWS KVS(Kinesis Video Streams)之WebRTC的C库测试

    想要验证AWS KVS with WebRTC的嵌入式C库,我们将其源码编译(详见WebRTC编译过程)后,可以运行其提供的sample,注:该过程是在Linux环境上. 1.编译结束后,我们在bui ...

  2. AWS KVS(Kinesis Video Streams)之WebRTC集成过程(六)

    因为我们的实际的使用过程是智能摄像头设备(门铃/Camera)和Echoshow(实际上是Alexa)对接,实现语音全双工,我们计划集成AWS提供的完整的WebRTC的方案(SDK),因此在所有依赖库 ...

  3. AWS KVS(Kinesis Video Streams)之WebRTC移植编译(五)

    在使用KVS完整的WebRTC的SDK(包括信令.STUN/TURN等),我们还需要编译(详见SDK的依赖项)如下两个库 1.amazon-kinesis-video-streams-producer ...

  4. AWS KVS(Kinesis Video Streams)之WebRTC移植编译(一)

    本文在于记录amazon-kinesis提供的设备端WebRTC SDK的依赖项编译过程,该过程在嵌入式设备君正平台验证 1.首先我们可能需要一个墙外的服务器拉取代码,我是在开启了一个AWS的美国环境 ...

  5. AWS KVS(Kinesis Video Streams)之WebRTC移植编译(三)

    继上一篇文章后,中途被其他事情耽误两周,现在继续... 编译第三方库: 一.[君正平台:编译usrsctp] 1.下载源码 git clone https://github.com/sctplab/u ...

  6. AWS KVS(Kinesis Video Streams)之WebRTC依赖项

    KVS WebRTC依赖于openssl.srtp.usrsctp.kvspic.我们挨个来编译,如果我们需要往嵌入式设备中移植,需要移植这些依赖项,因此在编译移植前,我们需要得到源码. 先下载所有代 ...

  7. AWS KVS(Kinesis Video Streams)之WebRTC

    STUN .TURN 和ICE如何工作 (两个端点交互流程): 我们假设两个对等方A和B都使用WebRTC对等双向媒体流(例如,视频聊天应用程序)的情况. 要连接到B的应用程序,A的应用程序必须生成S ...

  8. AWS KVS(Kinesis Video Streams)之WebRTC集成过程报错问题整理(七)

    在前面我已经将君正T31X平台的WebRTC相关的依赖库编译完成,且现在将kvsWebrtcClientMaster测试用例也需要编译出来,在Camera中运行,验证依赖库的正确性. 根据自己编写的C ...

  9. AWS KVS(Kinesis Video Streams)之WebRTC集成过程报错问题整理(八)

    1.用例情况: [1]第一组 master:君正平台的 kvsWebrtcClientMaster viewer:https://us-west-2.console.aws.amazon.com/ki ...

最新文章

  1. [转]如何借助 TLS/SSL 确保套接字连接的安全(使用 C#/VB/C++ 和 XAML 的 Windows 应用商店应用)...
  2. SpringMVC的请求-获得请求参数-参数绑定注解@RequestParam
  3. 爆料图显示iPhone 14 Pro及Max机身更厚 摄像头凸起也更多
  4. 内核开发知识第二讲,编写Kerner 程序中注意的问题.
  5. 防火墙和防火墙安全区域概述
  6. 蹭热点,B站源码泄露,是道德的沦丧还是P民的福音
  7. 在Visual Studio 2010中创建多项目(解决方案)模板【一】
  8. Android6.0之AMS启动App下篇
  9. spring中动态代理的两种方式
  10. pycharm免安装版推荐
  11. c语言逻辑运算符用法大全,C语言逻辑运算符介绍和示例
  12. 韩国服务器性能排行榜,2019韩国云服务器排名
  13. 第一次写前后端分离项目的经验总结
  14. 一对一直播app源码开发的前端实现
  15. redis的三大模式主从,哨兵和集群
  16. 基于影像基因的肺结节分割、肺癌分类分期、CT影像预测基因突变 --董云云 论文阅读
  17. 微信图片 自动上传到服务器,微信小程序怎样使图片上传至服务器
  18. unity中计算向量的模长和归一化向量
  19. ctfshow卷王杯部分web
  20. impala创建kudu表过程,并发时异常

热门文章

  1. 【计算机网络】TCP/IP协议(DNS协议、IP协议、TCP协议、UDP协议、三次握手、四次挥手)
  2. ILRuntime热更的小技巧
  3. Nginx和Tomcat优化
  4. Scala语言学习:Scala是什么?
  5. 产品经理和软件工程师的职能划分
  6. [学习笔记] BearPi-HM Nano - 开发板介绍
  7. (软考高级)信息系统项目管理师过关经验
  8. [JZOJ5710] Mex
  9. 手机页面出现乱码几种可能
  10. 小旋风蜘蛛池采集工具教程分享