Refactor subscribedTrack + mediaTrackSubscriptions. (#3908)
- Move downTrack instantiation to SubscribedTrack as it should own that DownTrack. Still more to do here as `DownTrack` is fetched from `SubscribedTrack` in a few places and used. Would like to avoid that, but doing this initially. - Use an interface from sfu.Downtrack and replace a bunch of callbacks. SubscribedTrack is the implementation for DownTrackListener.
This commit is contained in:
@@ -31,7 +31,6 @@ import (
|
||||
"github.com/livekit/protocol/auth"
|
||||
"github.com/livekit/protocol/livekit"
|
||||
"github.com/livekit/protocol/logger"
|
||||
"github.com/livekit/protocol/observability"
|
||||
"github.com/livekit/protocol/observability/roomobs"
|
||||
"github.com/livekit/protocol/rpc"
|
||||
"github.com/livekit/protocol/utils"
|
||||
@@ -75,7 +74,6 @@ type RoomManager struct {
|
||||
whipServer rpc.WHIPServer[livekit.NodeID]
|
||||
roomStore ObjectStore
|
||||
telemetry telemetry.TelemetryService
|
||||
recorder observability.Reporter
|
||||
clientConfManager clientconfiguration.ClientConfigurationManager
|
||||
agentClient agent.Client
|
||||
agentStore AgentStore
|
||||
|
||||
Reference in New Issue
Block a user