Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Nov 5, 2024
1 parent d6d05af commit a62761d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/e2e-video-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ webrtcperf.processingVideoTracks = new Set()
* @param {number} measureInterval
*/
webrtcperf.recognizeVideoTimestampWatermark = async (track, measureInterval = 5) => {
if (webrtcperf.processingVideoTracks.has(track.id)) return
if (webrtcperf.processingVideoTracks.has(track)) return
webrtcperf.processingVideoTracks.add(track)
track.addEventListener('ended', () => {
webrtcperf.processingVideoTracks.delete(track)
Expand Down

0 comments on commit a62761d

Please sign in to comment.