fix agent jobs not launching when using the CreateRoom API (#2784)
This commit is contained in:
@@ -104,7 +104,7 @@ func (s *RoomService) CreateRoom(ctx context.Context, req *livekit.CreateRoomReq
|
|||||||
defer done()
|
defer done()
|
||||||
|
|
||||||
if created {
|
if created {
|
||||||
go s.agentClient.LaunchJob(ctx, &agent.JobDescription{
|
go s.agentClient.LaunchJob(context.Background(), &agent.JobDescription{
|
||||||
JobType: livekit.JobType_JT_ROOM,
|
JobType: livekit.JobType_JT_ROOM,
|
||||||
Room: rm,
|
Room: rm,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user