Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/livekit-server-sdk/src/RoomServiceClient.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: 2024 LiveKit, Inc.
//
// SPDX-License-Identifier: Apache-2.0
import type { DataPacket_Kind, RoomEgress, TrackInfo } from '@livekit/protocol';
import type { DataPacket_Kind, RoomAgentDispatch, RoomEgress, TrackInfo } from '@livekit/protocol';
import {
CreateRoomRequest,
DeleteRoomRequest,
Expand Down Expand Up @@ -84,6 +84,11 @@ export interface CreateOptions {
* does not work with Cloud
*/
nodeId?: string;

/**
* Define agents that should be dispatched to this room
*/
agents?: RoomAgentDispatch[];
}

export type SendDataOptions = {
Expand Down