SrtInputSettings.onConnection property
On connect callback, notifying that a new caller has connected (in listener mode) and set the source name accordingly
Signature:
onConnection?: (
streamId: string,
index: number,
remoteHost: string) => SrtConnectionResult;