mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 17:45:40 +00:00
Log actual track IDs during subscription, not just the number of tracks (#493)
* Log actual track IDs instead of just number of tracks * Log track ids
This commit is contained in:
@@ -104,10 +104,14 @@ func (u *UpTrackManager) AddSubscriber(sub types.LocalParticipant, params types.
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
var trackIDs []livekit.TrackID
|
||||
for _, track := range tracks {
|
||||
trackIDs = append(trackIDs, track.ID())
|
||||
}
|
||||
u.params.Logger.Debugw("subscribing new participant to tracks",
|
||||
"subscriber", sub.Identity(),
|
||||
"subscriberID", sub.ID(),
|
||||
"numTracks", len(tracks))
|
||||
"trackIDs", trackIDs)
|
||||
|
||||
n := 0
|
||||
for _, track := range tracks {
|
||||
|
||||
Reference in New Issue
Block a user