rename log and comment (#601)

This commit is contained in:
cnderrauber
2022-04-07 17:28:33 +08:00
committed by GitHub
parent f74144846b
commit 665e53aba8
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -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
View File
@@ -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()