MoqInputSettings.onConnection property
Called when a new publisher connects via QUIC or WebTransport (listener mode), or is announced at the relay (relay-listener mode). publishedNamespace is the full namespace tuple the publisher announced, as a list of segments — e.g. for the namespace <"stage", "primary"> it’s ["stage", "primary"]. Return accept with a sourceName, or reject to deny.
Signature:
onConnection?: (connectionIndex: number, remoteHost: string, publishedNamespace: string[], auth?: MoqConnectionAuth) => MoqConnectionResult;