Skip to content

Commit

Permalink
set CanSubscribeMetrics from permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
boks1971 committed Aug 26, 2024
1 parent 279225c commit 528fe9a
Show file tree
Hide file tree
Showing 39 changed files with 563 additions and 442 deletions.
1 change: 1 addition & 0 deletions agent/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func BuildAgentToken(apiKey, secret, roomName, participantIdentity, participantN
CanPublishData: &permissions.CanPublishData,
Hidden: permissions.Hidden,
CanUpdateOwnMetadata: &permissions.CanUpdateMetadata,
CanSubscribeMetrics: &permissions.CanSubscribeMetrics,
}

at := auth.NewAccessToken(apiKey, secret).
Expand Down
16 changes: 8 additions & 8 deletions infra/link.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 44 additions & 33 deletions infra/link_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 528fe9a

Please sign in to comment.