Stub MoveParticipant so that cloud can include the latest protocol. (#3646)

This commit is contained in:
Raja Subramanian
2025-05-07 22:36:39 +05:30
committed by GitHub
parent d4ab1142cb
commit 2fff36cb35
4 changed files with 33 additions and 24 deletions
+4
View File
@@ -778,6 +778,10 @@ func (r *RoomManager) ForwardParticipant(ctx context.Context, req *livekit.Forwa
return nil, errors.New("not implemented")
}
func (r *RoomManager) MoveParticipant(ctx context.Context, req *livekit.MoveParticipantRequest) (*livekit.MoveParticipantResponse, error) {
return nil, errors.New("not implemented")
}
func (r *RoomManager) DeleteRoom(ctx context.Context, req *livekit.DeleteRoomRequest) (*livekit.DeleteRoomResponse, error) {
room := r.GetRoom(ctx, livekit.RoomName(req.Room))
if room == nil {
+5
View File
@@ -16,6 +16,7 @@ package service
import (
"context"
"errors"
"fmt"
"strconv"
@@ -334,6 +335,10 @@ func (s *RoomService) ForwardParticipant(ctx context.Context, req *livekit.Forwa
return res, err
}
func (s *RoomService) MoveParticipant(ctx context.Context, req *livekit.MoveParticipantRequest) (*livekit.MoveParticipantResponse, error) {
return nil, errors.New("unimplemented")
}
func redactCreateRoomRequest(req *livekit.CreateRoomRequest) *livekit.CreateRoomRequest {
if req.Egress == nil && req.Metadata == "" {
// nothing to redact