Interface DispatchInput

What dispatch hands a provider. The tokens are minted at dispatch and never stored in clear.

interface DispatchInput {
    run: MeetingRunRecord;
    room: {
        url: string;
        name: string;
        publishToken: string;
    };
    workerToken: string;
    reportUrl: string;
}

Properties

The run to start: its link, its bot's name, its notice, its stop phrase and its limits.

room: {
    url: string;
    name: string;
    publishToken: string;
}

The run's room: the server's url, the room's name and the bot's publish-only token.

Type declaration

  • url: string
  • name: string
  • publishToken: string
workerToken: string

The per-run bearer token the worker presents on every report.

reportUrl: string

Where the worker sends its reports.