The plugin's on-device proof (Mob.Plugin.SelfTest), run by
mix mob.selftest. Each step needs a real answer from native code:
- both static NIFs (
ex_dtls,ex_libsrtp) loaded; - a DTLS-SRTP handshake between two in-memory
ExDTLSpeers agrees on a profile and on the keying material; ExLibSRTPprotects an RTP packet with those keys and the other side unprotects it to the same bytes;- two
MobWebrtcpeers in this BEAM connect over real UDP on the device's interfaces, and an RTP packet sent on one arrives on the other.
No hardware or user action is needed, so it never skips.