讨论 RTPEngine 的 ICE-lite
跟 ICE-lite 对应的就是 ICE-FullICE-lite 仅在 offer 时设置四选一forwardbackwardbothoff测试 backward 后向RTPEngine 收到的 offer SDP 为o- 1545997027 1 IN IP4 172.17.0.5stestert0 0cIN IP4 172.17.0.5maudio 4024 RTP/AVP 0aice-pwd:bd5dfhdfddd8e1bc6aice-ufrag:q25293acandidate:1 1 UDP 2130706303 172.17.0.5 4024 typ hostacandidate:1 2 UDP 2130706302 172.17.0.5 4025 typ hostartcp-mux调用 rtpengine_offer(ICEremove ICE-litebackward rtcp-muxdemux)得到的是o- 1545997027 1 IN IP4 172.17.0.5stestert0 0maudio 32958 RTP/AVP 0cIN IP4 203.0.113.1artpmap:0 PCMU/8000asendrecvartcp:32959在收到 answer 之后调用 rtpengine_anwer(无flag)得到的 sdp 为o- 1545997027 1 IN IP4 172.17.0.5stestert0 0aice-litemaudio 32566 RTP/AVP 0cIN IP4 203.0.113.1artpmap:0 PCMU/8000asendrecvartcp:32566artcp-muxaice-ufrag:TMZC0F2Caice-pwd:wPEWJVJ9KNrWH0YhcOpw53isGNacandidate:RDdGWrjNTEEe18Df 1 UDP 2130706431 203.0.113.1 32566 typ hostacandidate:Mdk7jX69EgZEGFkD 1 UDP 2130706175 2001:db8:4321::1 35040 typ host返回给主叫我们注意到 主叫offer 没有 ice-lite 属性主叫 answer 有 ice-lite 属性文档是这样描述 backward (后向)的backward to enable “ICE lite” mode towards the peer that has sent this offer.iceRTPEngine(ice lite)rtpforward 应该是这样RTPEngine 收到这样的 offero- 1545997027 1 IN IP4 172.17.0.5stestert0 0cIN IP4 172.17.0.5maudio 4026 RTP/AVP 0调用 rtpengine_offer(ICEforce ICE-liteforward)也就是说RTP RTPEngine (ice lite) ice不知道我讲的对不对ice-full vs ice-lite可参考这里:https://groups.google.com/g/rtpengine/c/cyD2f-hd6sE/m/Fch3_YZpAAAJ