mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 15:35:41 +00:00
Fix null dereference (#343)
This commit is contained in:
@@ -1450,7 +1450,9 @@ func (p *ParticipantImpl) getPendingTrack(clientId string, kind livekit.TrackTyp
|
||||
// if still not found, we are done
|
||||
if trackInfo == nil {
|
||||
p.params.Logger.Errorw("track info not published prior to track", nil, "clientId", clientId)
|
||||
return signalCid, nil
|
||||
}
|
||||
|
||||
return signalCid, trackInfo.TrackInfo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user