Update usage of core.Fuse. (#2519)

This commit is contained in:
Denys Smirnov
2024-02-28 03:48:58 +02:00
committed by GitHub
parent 7649e4ffab
commit f5eb6c8a95
9 changed files with 35 additions and 23 deletions
+2 -2
View File
@@ -21,9 +21,10 @@ import (
"go.uber.org/atomic"
"github.com/frostbyte73/core"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/protocol/livekit"
"github.com/livekit/protocol/utils"
"github.com/livekit/livekit-server/pkg/config"
)
type BytesTrackType string
@@ -62,7 +63,6 @@ func NewBytesTrackStats(trackID livekit.TrackID, pID livekit.ParticipantID, tele
trackID: trackID,
pID: pID,
telemetry: telemetry,
done: core.NewFuse(),
}
go s.reporter()
return s