is-stun
Check if a Buffer is a STUN message. Used for demultiplex packets that are arriving on the same port. Follows RFC7983.
Usage
const dgram = const is_stun = const socket = dgram socket socket
Related projects
is-dtls
- Check if a Buffer is a DTLS message.is-turn
- Check if a Buffer is a TURN message.is-rtp
- Check if a Buffer is a RTP/RTCP message.
License
MIT, 2017 (c) Dmitry Tsvettsikh