LiveTalking icon indicating copy to clipboard operation
LiveTalking copied to clipboard

运行久了线程会自动退出?while not quit_event.is_set()

Open ahaha721 opened this issue 9 months ago • 4 comments

一直运行,没有让他退出,但是会自动退出 还有就是interrupt接口,只有停止接口没有启动接口吗 日志 ttsreal thread stop lipreal process_frames thread stop

ahaha721 avatar Mar 13 '25 03:03 ahaha721

客户端连接断开了吧。 interrupt后重新发送文字就会播报了

lipku avatar Mar 13 '25 12:03 lipku

如果是rtc,自动退出基本上都是因为服务和srs链接问题导致。

liuxiaohan00 avatar Mar 14 '25 19:03 liuxiaohan00

客户端连接断开了吧。 interrupt后重新发送文字就会播报了

应该是服务和srs链接断开了,得加重连机制 既然都能重连了,可以加上运行中更换push_url 更换url的使用场景是运行中,用户A租用到期,用户B开始租用,切换形象,切换push_url 如果不切换push_url就要用srs的踢人接口把订阅客户端踢掉。如果挨个踢人太慢了,直接换url更好

ahaha721 avatar Mar 21 '25 02:03 ahaha721

重连机制有加上嗎?

wewaa avatar Aug 21 '25 07:08 wewaa