RtmpServerInputSettings.onConnection property
On connect callback, use to accept/reject connections given app/url in use
Signature:
onConnection?: (
connectionId: string,
app: string,
url: string) => {
accept: true;
} | {
accept: false;
reason?: string;
};