pass client defined metadata from JWT to participant (#17)

This commit is contained in:
David Zhao
2021-02-10 23:13:36 -08:00
committed by GitHub
parent 38140debdf
commit 538461d5dc
23 changed files with 286 additions and 81 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ func muteTrack(c *cli.Context) error {
func contextWithAccessToken(c *cli.Context, grant *auth.VideoGrant) context.Context {
ctx := context.Background()
token, err := accessToken(c, grant, "")
token, err := accessToken(c, grant, "").ToJWT()
if err != nil {
logger.Errorw("Could not get access token", "err", err)
}