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.
Parameters
Section titled “Parameters”onData
Section titled “onData”(data) => void
Returns
Section titled “Returns”Promise<UdpSocketLike>