Expand description
Legacy DTLS record framing from RFC 6347 section 4.1.
Constantsยง
- LENGTH_
OFFSET ๐ - Length follows type, version, epoch and the 48-bit sequence number.
- RECORD_
HEADER_ ๐BYTES - Record header containing type, version, epoch, sequence number and length.
- VERSION_
1_ ๐0 - DTLS 1.0 record-layer wire version. Reference: https://www.rfc-editor.org/rfc/rfc4347.html#section-4.1
- VERSION_
1_ ๐2 - DTLS 1.2 wire version, distinct from TLS 1.2โs version bytes.
- VERSION_
OFFSET ๐ - Version follows the one-byte content type.
Functionsยง
- has_
datagram_ ๐shape - Checks the first record after the WebRTC multiplexer has selected DTLS. Later records, record contents and cryptographic validity remain unchecked.