Expand description
The security gate for one browser-audio ICE component.
This module is the I/O-free boundary from docs/specs/webrtc-audio.md §7. The live socket
owner consults it before handing bytes to ICE, DTLS, SRTP or SRTCP; keeping it free of sockets
makes every hostile-input and ordering branch deterministic in a test.
Structs§
- Browser
Component Snapshot - Read-only facts for diagnostics and the independent browser proof.
- Component
Ingress - I/O-free ingress and key-installation gate for one browser component.
- Ingress
Counts - Exact, monotonic drops decided by
ComponentIngress. - Selected
Component - The exact ICE pair allowed to carry DTLS and protected media.
Enums§
- Browser
Start Error - Why the browser component could not advance from ICE through verified DTLS keying.
- Component
Error - A rejected component transition.
- Component
State - Security phase of one component generation.
- Ingress
Class - One protocol carried by the nominated component.
- Ingress
Disposition - Result of applying both classification and the component security state.
- Ingress
Drop - Why a datagram changed no browser-component protocol state.
Constants§
- MAX_
DATAGRAM - Largest inbound datagram the browser-audio component admits to a protocol parser.
- MAX_
PROFILE_ TASKS - Maximum browser-profile tasks alive at one instant (spec §7.2).
Functions§
- classify_
datagram - Classify one bounded datagram by RFC 5764 §5.1.2 and RFC 5761 §4.