You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a participant disconnects from an active agent the human input stays connected with the old participant, and so when a participant reconnects, the transcription and sst, vad and transcript forwarder are not connected.
The fix is to add a method to unlink_participant which requires moving a number of nested methods to class level for unlink:
def _unlink_participant(self) -> None:
"""Clean up participant-related resources"""
if self._human_input is None:
return
# Remove all event listeners using class methods
self._human_input.off("start_of_speech", self._on_start_of_speech)
self._human_input.off("vad_inference_done", self._on_vad_inference_done)
self._human_input.off("end_of_speech", self._on_end_of_speech)
self._human_input.off("interim_transcript", self._on_interim_transcript)
self._human_input.off("final_transcript", self._on_final_transcript)
self._human_input = None
Steps to reproduce
Start room with participant
Have agent join
Leave room but have agent stay connected
Rejoin room
Have candidate speak and notice that transcription is not being forwarded.
The text was updated successfully, but these errors were encountered:
When a participant disconnects from an active agent the human input stays connected with the old participant, and so when a participant reconnects, the transcription and sst, vad and transcript forwarder are not connected.
The fix is to add a method to unlink_participant which requires moving a number of nested methods to class level for unlink:
Steps to reproduce
The text was updated successfully, but these errors were encountered: