WhipConnectionResult type

The return value for the WhipInputSettings.onConnection callback determining what to do with an incoming stream

Signature:

export type WhipConnectionResult = {
    accept: true;
    sourceName: string;
    programNumber?: number;
} | {
    accept: false;
};