Send client sdk type when participant joins in telemetry (#275)

Signed-off-by: shishir gowda <shishir@livekit.io>
This commit is contained in:
shishirng
2021-12-21 15:35:27 -05:00
committed by GitHub
parent 8f28364842
commit 2e4ccd2577
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ func (r *RoomManager) StartSession(ctx context.Context, roomName string, pi rout
}
}
r.telemetry.ParticipantJoined(ctx, room.Room, participant.ToProto())
r.telemetry.ParticipantJoined(ctx, room.Room, participant.ToProto(), pi.Client)
participant.OnClose(func(p types.Participant) {
if err := r.roomStore.DeleteParticipant(ctx, roomName, p.Identity()); err != nil {
pLogger.Errorw("could not delete participant", err)