Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
11.2k views
in Technique[技术] by (71.8m points)

webrtc Switching selected connection due to candidate pair state changed

dtls handshake completed over 73.170.65.x:55876 already and then...after few seconds,

(p2p_transport_channel.cc:286): Switching selected connection due to: candidate pair state changed _block_invoke:79: [MEDIA] (p2p_transport_channel.cc:1956): Channel[audio|1|RW]: Previous selected connection: Conn[c2eb000:audio:Net[en0:10.0.0.x/24:Wifi:id=1]:H+9q5DMX:1:0:prflx:udp:73.170.65.x:55876->tRBNEOsD:1:2130706431:local:udp:208.54.18.x:9280|CRWS|-|0|0|7961835276064522238|64] _block_invoke:79: [MEDIA] (p2p_transport_channel.cc:1959): Channel[audio|1|RW]: New selected connection: Conn[c3d6600:audio:Net[en0:2601:641:580:x:x:x:x:x/64:Wifi:id=2]:6Jo7uf9O:1:0:local:udp:[2601:641:580:x:x:x:x:x]:49386->JXEh6I9u:1:2130706431:local:udp:[2607:fb90:c13f:x:x:x:x:x]:9280|CRWS|S|0|0|9115049250764357630|62]***

Not getting any peerconnection callbacks in peerconnection, during this,

What happens is since dtls completed in 73.170.65.x:55876 , the srtp keys become invalid for 2601:641:580.X..

and the audio decode fails.

Can anyone help pls , its webrtc m76 stack, we are using for ios,


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...