mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 19:55:41 +00:00
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()
|
||||
|
||||
if created {
|
||||
go s.agentClient.LaunchJob(ctx, &agent.JobDescription{
|
||||
go s.agentClient.LaunchJob(context.Background(), &agent.JobDescription{
|
||||
JobType: livekit.JobType_JT_ROOM,
|
||||
Room: rm,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user