Skip to content

Commit 1f7ce70

Browse files
authored
feat: agent property to VideoGrants (#87)
1 parent 18d1063 commit 1f7ce70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

livekit-api/livekit/api/access_token.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ class VideoGrants:
5555
# indicates to the room that current participant is a recorder
5656
recorder: bool = False
5757

58+
# indicates that the holder can register as an Agent framework worker
59+
# it is also set on all participants that are joining as Agent
60+
agent: bool = False
61+
5862

5963
@dataclasses.dataclass
6064
class Claims:

0 commit comments

Comments
 (0)