isDtlsPacket
fn
bool isDtlsPacket(ubyte firstByte) @safe pure nothrow @nogcDemultiplexes DTLS and RTP/RTCP packets (RFC 5764 §5.1.2).
Examines the first byte to determine if a received packet is a DTLS record or an RTP/RTCP packet.
Parameters
firstByte | The first byte of the received packet. |
Returns
true if the packet is DTLS, false if it is RTP/RTCP.