mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 15:35:41 +00:00
more room logging
This commit is contained in:
@@ -365,7 +365,11 @@ func (r *LocalRoomManager) rtcSessionWorker(room *rtc.Room, participant types.Pa
|
||||
case *livekit.SignalRequest_Offer:
|
||||
_, err := participant.HandleOffer(rtc.FromProtoSessionDescription(msg.Offer))
|
||||
if err != nil {
|
||||
logger.Errorw("could not handle offer", err, "participant", participant.Identity(), "pID", participant.ID())
|
||||
logger.Errorw("could not handle offer", err,
|
||||
"room", room.Room.Name,
|
||||
"participant", participant.Identity(),
|
||||
"pID", participant.ID(),
|
||||
)
|
||||
return
|
||||
}
|
||||
case *livekit.SignalRequest_AddTrack:
|
||||
@@ -440,6 +444,7 @@ func (r *LocalRoomManager) rtcSessionWorker(room *rtc.Room, participant types.Pa
|
||||
pubTrack := publisher.GetPublishedTrack(sid)
|
||||
if pubTrack == nil {
|
||||
logger.Warnw("unable to find PublishedTrack", nil,
|
||||
"room", room.Room.Name,
|
||||
"participant", publisher.Identity(),
|
||||
"pID", publisher.ID(),
|
||||
"track", sid)
|
||||
|
||||
Reference in New Issue
Block a user