mirror of
https://github.com/livekit/livekit.git
synced 2026-05-15 05:15:25 +00:00
rename log and comment (#601)
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user