move NewStatsInterceptorFactory

This commit is contained in:
David Colburn
2021-11-12 20:21:54 -08:00
parent 92838d75a8
commit 4e16e4275c
2 changed files with 8 additions and 8 deletions
+8
View File
@@ -6,6 +6,14 @@ import (
"github.com/pion/rtcp"
)
func (t *TelemetryService) NewStatsInterceptorFactory(participantID, identity string) *StatsInterceptorFactory {
return &StatsInterceptorFactory{
t: t,
participantID: participantID,
identity: identity,
}
}
type StatsInterceptorFactory struct {
t *TelemetryService
participantID string