mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 08:42:46 +00:00
Some drive-by clean up (#4452)
This commit is contained in:
1 parent
6c81f67858
commit
69aa94797b
4 files changed
-16
No files matched your search
@@ -32,8 +32,6 @@ type SignalHandlerParams struct {
|
||||
}
|
||||
|
||||
type signalhandler struct {
|
||||
signalhandlerUnimplemented
|
||||
|
||||
params SignalHandlerParams
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,6 @@ type SignallingParams struct {
|
||||
}
|
||||
|
||||
type signalling struct {
|
||||
signallingUnimplemented
|
||||
|
||||
params SignallingParams
|
||||
}
|
||||
|
||||
|
||||
@@ -36,9 +36,6 @@ type UpDataTrackManager struct {
|
||||
lock sync.RWMutex
|
||||
dataTracks map[uint16]types.DataTrack
|
||||
closed bool
|
||||
|
||||
onDataTrackPublished func(types.Participant, types.DataTrack)
|
||||
onDataTrackUnpublished func(types.Participant, types.DataTrack)
|
||||
}
|
||||
|
||||
func NewUpDataTrackManager(params UpDataTrackManagerParams) *UpDataTrackManager {
|
||||
|
||||
@@ -69,15 +69,6 @@ var (
|
||||
promForwardLatency prometheus.Gauge
|
||||
promForwardJitter prometheus.Gauge
|
||||
promForwardLatencyHist prometheus.Histogram
|
||||
|
||||
promPacketTotalIncomingInitial prometheus.Counter
|
||||
promPacketTotalIncomingRetransmit prometheus.Counter
|
||||
promPacketTotalOutgoingInitial prometheus.Counter
|
||||
promPacketTotalOutgoingRetransmit prometheus.Counter
|
||||
promPacketBytesIncomingInitial prometheus.Counter
|
||||
promPacketBytesIncomingRetransmit prometheus.Counter
|
||||
promPacketBytesOutgoingInitial prometheus.Counter
|
||||
promPacketBytesOutgoingRetransmit prometheus.Counter
|
||||
)
|
||||
|
||||
func initPacketStats(nodeID string, nodeType livekit.NodeType) {
|
||||
|
||||
Reference in new issue
Block a user