diff --git a/synnax/pkg/service/framer/downsampler/downsampler.go b/synnax/pkg/service/framer/downsampler/downsampler.go index 6569143bab..14d4d35063 100644 --- a/synnax/pkg/service/framer/downsampler/downsampler.go +++ b/synnax/pkg/service/framer/downsampler/downsampler.go @@ -20,7 +20,7 @@ import ( const defaultBuffer = 25 -func NewDownsampledStreamer(ctx context.Context, cfg framer.StreamerConfig, service *framer.Service) (framer.Streamer, error) { +func NewStreamer(ctx context.Context, cfg framer.StreamerConfig, service *framer.Service) (framer.Streamer, error) { s, err := service.NewStreamer(ctx, cfg) if err != nil { return nil, err diff --git a/synnax/pkg/service/framer/service.go b/synnax/pkg/service/framer/service.go index 3bab52d7ef..db0d029cd9 100644 --- a/synnax/pkg/service/framer/service.go +++ b/synnax/pkg/service/framer/service.go @@ -38,7 +38,7 @@ func (s *Service) NewDeleter() framer.Deleter { func (s *Service) NewStreamer(ctx context.Context, cfg framer.StreamerConfig) (framer.Streamer, error) { if cfg.DownsampleFactor >= 1 { - return downsampler.NewDownsampledStreamer(ctx, cfg, s.Internal) + return downsampler.NewStreamer(ctx, cfg, s.Internal) } else { return s.Internal.NewStreamer(ctx, cfg) }