Type alias ProducerEventData

ProducerEventData: {
    roomId: string | null;
    roomName: string;
}

The data sent with producer connect and disconnect events.

Type declaration

  • roomId: string | null
  • roomName: string

Param

The ID of the room, or null if not applicable.

Param

The name of the room.

Generated using TypeDoc