- DtlsTransport 实现了ICE的Transport能力。
- 因此,ICE数据是通过DTLS的数据结构传递的。
- DtlsTransport 会负责 创建并管理多个 LibNiceConnection
- 由每个DtlsTransport 提供candidate等ice数据。
- 维护ice的状态,
- 最终给到webrtcconn使用。
liblnice 回調: cb_new_candidate
-=
void cb_new_candidate(NiceAgent* agent,
NiceCandidate* candidate,