Hi everyone, I'm new to this channel and slack in general. I have an ai calling agent application that uses livekit. I am facing a few issues with respect to containerized agent worker not being able to handle more than 2-3 concurrent calls before it voice starts lagging. Process exit error with following issuse: "process did not exit in time, killing process", "sending SIGUSR1 signal to process", "process exited with non-zero exit code -10".
But the main priority being how do i publish tts or background music in the rooms from my nestjs backend without having to create an agent session. I tried looking for solutions, in the docs we have rtc node which is still under dev preview and not ready for prod. I tried using ingress service with ffmpeg to stream, but keep getting: ffmpeg was killed with signal SIGSEGV. Does anyone have any sample code for working ingress implementation. I dont mind it being in python or node, i could just create a seperate application to hit via api to play the tts or music in the room. For more context, I'm trying to implement hold-bot system for incoming sip calls to handle the wait time until we deploy an agent job to join that room and handle the call or queue management in the room or all agents busy tts playout for enhanced user experience. I would appreciate if anyone can suggest me some alternatives for the same.
Thanks in advance and apologies if this is something not slack related.