Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
Revert "correctly disconnect the participant if alone"
Browse files Browse the repository at this point in the history
This reverts commit 0ac9ef6.
  • Loading branch information
theomonnom committed Apr 15, 2023
1 parent 0ac9ef6 commit ff1a57c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lkgpt-service/pkg/service/gptparticipant.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ func ConnectGPTParticipant(url, token string, sttClient *stt.Client, ttsClient *
p.gptTrack = track
p.room = room

if len(room.GetParticipants()) <= 1 {
defer func() {
go p.Disconnect()
}()
}

return p, nil
}

Expand Down

0 comments on commit ff1a57c

Please sign in to comment.