Handle room configuration that's set in the grant itself (#3120)

* Handle room configuration that's set in the grant itself

* ensure refresh token contains updates

* deps

* dep

---------

Co-authored-by: Paul Wells <paulwe@gmail.com>
This commit is contained in:
David ZhaoandPaul Wells authored and GitHub committed 2024-10-21 23:31:12 -07:00
1 parent d751f209d5
commit dd7cd7eafc
14 files changed
+65 -73

No files matched your search

+4 -6
View File
@@ -120,12 +120,10 @@ func TestAgentNamespaces(t *testing.T) {
_, err = roomClient.CreateRoom(contextWithToken(createRoomToken()), &livekit.CreateRoomRequest{
Name: testRoom,
Agent: &livekit.RoomAgent{
Dispatches: []*livekit.RoomAgentDispatch{
&livekit.RoomAgentDispatch{},
&livekit.RoomAgentDispatch{
AgentName: "ag",
},
Agents: []*livekit.RoomAgentDispatch{
{},
{
AgentName: "ag",
},
},
})