Skip to content

Commit b752662

Browse files
committed
Explain lastPLITimestamp
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 170c763 commit b752662

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/conference/participant.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ type ParticipantID struct {
2121
}
2222

2323
type PublishedTrack struct {
24-
track *webrtc.TrackLocalStaticRTP
24+
track *webrtc.TrackLocalStaticRTP
25+
// The time when we sent the last PLI to the sender. We store this to avoid
26+
// spamming the sender.
2527
lastPLITimestamp atomic.Int64
2628
}
2729

0 commit comments

Comments
 (0)