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:
|
case *livekit.SignalRequest_Offer:
|
||||||
_, err := participant.HandleOffer(rtc.FromProtoSessionDescription(msg.Offer))
|
_, err := participant.HandleOffer(rtc.FromProtoSessionDescription(msg.Offer))
|
||||||
if err != nil {
|
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
|
return
|
||||||
}
|
}
|
||||||
case *livekit.SignalRequest_AddTrack:
|
case *livekit.SignalRequest_AddTrack:
|
||||||
@@ -440,6 +444,7 @@ func (r *LocalRoomManager) rtcSessionWorker(room *rtc.Room, participant types.Pa
|
|||||||
pubTrack := publisher.GetPublishedTrack(sid)
|
pubTrack := publisher.GetPublishedTrack(sid)
|
||||||
if pubTrack == nil {
|
if pubTrack == nil {
|
||||||
logger.Warnw("unable to find PublishedTrack", nil,
|
logger.Warnw("unable to find PublishedTrack", nil,
|
||||||
|
"room", room.Room.Name,
|
||||||
"participant", publisher.Identity(),
|
"participant", publisher.Identity(),
|
||||||
"pID", publisher.ID(),
|
"pID", publisher.ID(),
|
||||||
"track", sid)
|
"track", sid)
|
||||||
|
|||||||
Reference in New Issue
Block a user