SrtStreamIdParsed type
The engine-parsed streamid (Haivision access-control form). route is the r= value — or the bare streamid for sources not using the form; user is u= (undefined = anonymous); params carries every other k=v pair untouched.
Signature:
export type SrtStreamIdParsed = {
route: string;
user?: string;
params: Record<string, string>;
};