Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/thick-lamps-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github.com/livekit/protocol": patch
---

Use consistent json field name for room configuration grant
2 changes: 1 addition & 1 deletion auth/grants.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type VideoGrant struct {
RoomJoin bool `json:"roomJoin,omitempty"`
Room string `json:"room,omitempty"`
// Name of the room configuration to apply to the room if created
RoomConfiguration string `json:"room_configuration,omitempty"`
RoomConfiguration string `json:"roomConfiguration,omitempty"`

// permissions within a room, if none of the permissions are set explicitly
// it will be granted with all publish and subscribe permissions
Expand Down