@videosdk.live/server-sdk
    Preparing search index...

    Class RoomsResource

    Rooms API — create and manage rooms (meetings).

    Index
    • End (deactivate/disable) a room. Returns the now-disabled room.

      Note: unlike RoomsResource.get/RoomsResource.validate, this resolves only the VideoSDK roomId — a customRoomId is rejected with 402.

      Parameters

      • roomId: string

      Returns Promise<Room>

    • Fetch a room by id, roomId, or customRoomId.

      Parameters

      • roomId: string

      Returns Promise<Room>

    • Validate that a room id belongs to the caller. Returns { valid, roomId } (with the resolved room when valid) instead of throwing on an unknown id.

      Parameters

      • roomId: string

      Returns Promise<RoomValidation>