Interface MeetingRoomHandle

A run's room as MeetingRoom.create made it. The two tokens are secrets: the manager keeps neither on the run's record.

interface MeetingRoomHandle {
    url: string;
    name: string;
    botIdentity: string;
    agentIdentity: string;
    publishToken: string;
    subscribeToken: string;
}

Properties

url: string

The service's url, the address the bot is given. An agent that reaches the server by another address, such as one inside the host's own network, connects there.

name: string

The room's name: the prefix, then the run id.

botIdentity: string

The identity the bot joins as.

agentIdentity: string

The identity the listening agent joins as.

publishToken: string

The bot's token: it may publish and may not subscribe.

subscribeToken: string

The agent's token: it may subscribe and may not publish. The manager does not hand it on; an agent that connects later takes one from MeetingRoom.agentToken.