SrtConnectionResult type
The return value for the SrtInputSettings.onConnection callback determining what to do with an incoming stream
Signature:
export type SrtConnectionResult =
/** Accept the stream */
{
accept: true;
sourceName: string;
}
/** Reject the stream */
| {
accept: false;
};