diff --git a/pkg/rtc/participant.go b/pkg/rtc/participant.go index 26606f10e..1767cb0c3 100644 --- a/pkg/rtc/participant.go +++ b/pkg/rtc/participant.go @@ -241,8 +241,6 @@ func NewParticipant(params ParticipantParams) (*ParticipantImpl, error) { func (p *ParticipantImpl) createDataChannelForSubscriberAsPrimary() error { primaryPC := p.subscriber.pc ordered := true - // also create data channels for subs, this is for legacy clients that do not use subscriber - // as primary channel var ( reliableID, lossyID uint16 reliableIDPtr, lossyIDPtr *uint16 diff --git a/pkg/rtc/room.go b/pkg/rtc/room.go index f7e293f34..a4a801991 100644 --- a/pkg/rtc/room.go +++ b/pkg/rtc/room.go @@ -334,7 +334,7 @@ func (r *Room) RemoveParticipant(identity livekit.ParticipantIdentity) { p.OnDataPacket(nil) // close participant as well - r.Logger.Infow("closing participant for removal", "participantID", p.ID()) + r.Logger.Infow("closing participant for removal", "pID", p.ID(), "participant", p.Identity()) _ = p.Close(true) r.lock.RLock()