Move psrpc to protocol (#1426)

* move psrpc to protocol

* update checks

* update protocol

* update protocol ref

* blank line
This commit is contained in:
David Colburn
2023-02-15 16:47:38 -08:00
committed by GitHub
parent 1848a21eda
commit 10c53e0ebb
23 changed files with 40 additions and 1500 deletions
+3 -2
View File
@@ -14,6 +14,7 @@ import (
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/rtc"
"github.com/livekit/protocol/livekit"
"github.com/livekit/protocol/rpc"
)
// A rooms service that supports a single node
@@ -84,8 +85,8 @@ func (s *RoomService) CreateRoom(ctx context.Context, req *livekit.CreateRoomReq
}
if req.Egress != nil && req.Egress.Room != nil {
egress := &livekit.StartEgressRequest{
Request: &livekit.StartEgressRequest_RoomComposite{
egress := &rpc.StartEgressRequest{
Request: &rpc.StartEgressRequest_RoomComposite{
RoomComposite: req.Egress.Room,
},
RoomId: rm.Sid,