File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
examples/src/simulflow_examples Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 167167
168168 ; ; Activity monitor connections - basically check if there is
169169 ; ; activity on the pipeline
170- [[:realtime-out :out ] [:activity-monitor :in ]]
171- [[:transcriptor :out ] [:activity-monitor :in ]]
170+ [[:realtime-out :sys-out ] [:activity-monitor :sys-in ]]
171+ [[:transcriptor :sys-out ] [:activity-monitor :sys-in ]]
172+ [[:transport-in :sys-out ] [:activity-monitor :sys-in ]]
172173 [[:activity-monitor :out ] [:context-aggregator :in ]]
173174 [[:activity-monitor :out ] [:tts :in ]]]
174175 extra-conns)}))
Original file line number Diff line number Diff line change 181181 _ (t/log! {:level :debug :id :elevenlabs } " Connecting to TTS websocket" )
182182 ws-conn @(ws/websocket url conf)]
183183 (vthread-loop []
184- (when @alive?
185- (when-let [msg (a/<!! ws-write)]
186- (when @alive?
187- (ws/send! ws-conn msg))
188- (recur ))))
184+ (when @alive?
185+ (when-let [msg (a/<!! ws-write)]
186+ (when @alive?
187+ (ws/send! ws-conn msg))
188+ (recur ))))
189189 (vthread-loop []
190- (when @alive?
191- (a/<!! (a/timeout 3000 ))
192- (t/log! {:level :debug :id :elevenlabs } " Sending keep-alive message" )
193- (ws/send! ws-conn keep-alive-message)
194- (recur )))
190+ (when @alive?
191+ (a/<!! (a/timeout 3000 ))
192+ (t/log! {:level :debug :id :elevenlabs } " Sending keep-alive message" )
193+ (ws/send! ws-conn keep-alive-message)
194+ (recur )))
195195 (into args
196196 {:websocket/conn ws-conn
197197 :websocket/alive? alive?
You can’t perform that action at this time.
0 commit comments