Skip to content

UdpSocketFactory

UdpSocketFactory = (onData) => Promise<UdpSocketLike>

Defined in: packages/voice/src/udp.ts:10

Opens a UDP socket that calls onData for each datagram. Replace it in tests.

(data) => void

Promise<UdpSocketLike>