How to used dtls_transport bind this socket(udp_socket)?
I need to used dtls_transport read callback read RTP packet.
rtc::SocketAddress addr;
std::unique_ptr<rtc::BasicPacketSocketFactory> socket_factory;
... ...
... ...
addr.SetIP("0:0:0:0:0:0:0:0");
addr.SetPort(port);
rtc::AsyncPacketSocket* udp_socket = socket_factory->CreateUdpSocket(addr, 0, 0);
cricket::DtlsTransport dtls_transport;
... ...
... ...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…