update log keys
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ func (r *Room) Join(participant types.Participant, opts *ParticipantOptions) err
|
|||||||
participant.OnDataPacket(r.onDataPacket)
|
participant.OnDataPacket(r.onDataPacket)
|
||||||
logger.Infow("new participant joined",
|
logger.Infow("new participant joined",
|
||||||
"id", participant.ID(),
|
"id", participant.ID(),
|
||||||
"identity", participant.Identity(),
|
"participant", participant.Identity(),
|
||||||
"roomId", r.Room.Sid)
|
"roomId", r.Room.Sid)
|
||||||
|
|
||||||
r.participants[participant.Identity()] = participant
|
r.participants[participant.Identity()] = participant
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
"connectionId", connId,
|
"connectionId", connId,
|
||||||
"room", rm.Sid,
|
"room", rm.Sid,
|
||||||
"roomName", rm.Name,
|
"roomName", rm.Name,
|
||||||
"name", pi.Identity,
|
"participant", pi.Identity,
|
||||||
)
|
)
|
||||||
|
|
||||||
// handle responses
|
// handle responses
|
||||||
|
|||||||
Reference in New Issue
Block a user