MoqOutputSettings.onConnection property

Called when a new subscriber connects via QUIC or WebTransport. Return accept with a sourceName, or reject to deny the connection.

Signature:

onConnection?: (connectionIndex: number, remoteHost: string) => MoqConnectionResult;