Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: RoomfulPluginOptions\<TPresence\>

@roomful/vue


@roomful/vue / RoomfulPluginOptions

Interface: RoomfulPluginOptions<TPresence>

Section titled “Interface: RoomfulPluginOptions<TPresence>”

Defined in: vue/src/index.ts:25

Configures the Vue plugin.

  • RoomOptions<TPresence>

TPresence extends PresenceData = PresenceData

The room presence shape inferred from presence.

optional debug: boolean | DebugOptions

Defined in: core/dist/types.d.ts:392

Enables broad debug logging or fine-grained debug flags.

RoomOptions.debug


optional encryption: EncryptionOptions

Defined in: core/dist/types.d.ts:388

Enables payload encryption.

RoomOptions.encryption


optional maxPeers: number

Defined in: core/dist/types.d.ts:360

Caps the number of peers allowed in the room.

RoomOptions.maxPeers


optional presence: Partial<TPresence>

Defined in: core/dist/types.d.ts:356

Seeds the initial local presence payload.

RoomOptions.presence


optional reconnect: boolean | ReconnectOptions

Defined in: core/dist/types.d.ts:376

Enables reconnect behavior or custom reconnect timing.

RoomOptions.reconnect


optional relayAuth: RelayAuthToken

Defined in: core/dist/types.d.ts:372

Supplies relay authentication as a token or async token factory.

RoomOptions.relayAuth


optional relayUrl: string

Defined in: core/dist/types.d.ts:368

Overrides the relay URL used for signaling and fallback transports.

RoomOptions.relayUrl


roomId: string

Defined in: vue/src/index.ts:31

Identifies the room to create or join.


optional stunUrls: string[]

Defined in: core/dist/types.d.ts:364

Supplies custom STUN server URLs for WebRTC sessions.

RoomOptions.stunUrls


optional transport: TransportMode

Defined in: core/dist/types.d.ts:352

Selects the preferred transport strategy.

RoomOptions.transport


optional webrtc: WebRTCOptions

Defined in: core/dist/types.d.ts:380

Configures WebRTC-specific behavior.

RoomOptions.webrtc


optional websocket: WebSocketOptions

Defined in: core/dist/types.d.ts:384

Configures WebSocket-specific behavior.

RoomOptions.websocket