We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e8024 commit fa445e5Copy full SHA for fa445e5
cmd/lk/room.go
@@ -190,6 +190,10 @@ var (
190
Usage: "Automatically subscribe to published tracks.",
191
Value: false,
192
},
193
+ &cli.StringFlag{
194
+ Name: "metadata",
195
+ Usage: "`JSON` metadata which will be passed to participant",
196
+ },
197
198
199
{
@@ -967,6 +971,7 @@ func joinRoom(ctx context.Context, cmd *cli.Command) error {
967
971
RoomName: roomName,
968
972
ParticipantIdentity: participantIdentity,
969
973
ParticipantAttributes: participantAttributes,
974
+ ParticipantMetadata: cmd.String("metadata"),
970
975
}, roomCB, lksdk.WithAutoSubscribe(autoSubscribe))
976
if err != nil {
977
return err
0 commit comments