pion/ice有一个 ICE Lite 选项。我通过反复试验做了一些事情,但这是我一路上学到的东西。
从RFC 8445 6.1.1. Determining Role
Both lite: The initiating agent that started the ICE processing MUST
take the controlling role, and the other MUST take the controlled
role. In this case, no connectivity checks are ever sent.
Rather, once the candidates are exchanged, each agent performs the
processing described in Section 8 without connectivity checks. It
is possible that both agents will believe they are controlled or
controlling. In the latter case, the conflict is resolved through
glare detection capabilities in the signaling protocol enabling
the candidate exchange. The state of ICE processing for each data
stream is considered to be Running, and the state of ICE overall
is Running.
我还没有找到一个广泛的单一地方来了解 ICE Lite。但是您可以查看pion/ice
行为方式,并乐于回答更多个人问题!