Skip to content

Commit 6609ca9

Browse files
authored
Add canManageAgentSession to VideoGrant (#661)
1 parent 533b520 commit 6609ca9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.changeset/many-kings-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-server-sdk": patch
3+
---
4+
5+
Add canManageAgentSession to VideoGrant

packages/livekit-server-sdk/src/grants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ export interface VideoGrant {
9191
/** allow participant to subscribe to metrics */
9292
canSubscribeMetrics?: boolean;
9393

94+
/** allow participant to manage an agent session via RemoteSession */
95+
canManageAgentSession?: boolean;
96+
9497
/** destination room which this participant can forward to */
9598
destinationRoom?: string;
9699
}

0 commit comments

Comments
 (0)