remove WriteNodeRTC from interface

This commit is contained in:
David Colburn
2021-12-20 16:00:37 -08:00
parent ab73911c49
commit 8f28364842
2 changed files with 1 additions and 80 deletions
+1 -2
View File
@@ -70,10 +70,9 @@ type MessageRouter interface {
// StartParticipantSignal participant signal connection is ready to start
StartParticipantSignal(ctx context.Context, roomName string, pi ParticipantInit) (connectionId string, reqSink MessageSink, resSource MessageSource, err error)
// Write a message to a participant, room, or node
// Write a message to a participant or room
WriteParticipantRTC(ctx context.Context, roomName, identity string, msg *livekit.RTCNodeMessage) error
WriteRoomRTC(ctx context.Context, roomName, identity string, msg *livekit.RTCNodeMessage) error
WriteNodeRTC(ctx context.Context, nodeID string, msg *livekit.RTCNodeMessage) error
}
func CreateRouter(rc *redis.Client, node LocalNode) Router {