From 5263fb00982f089e5cffe3e82b8371134a451759 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 18 Nov 2025 07:49:58 -0400 Subject: [PATCH] MT#55283 pull down service ready notification Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934 --- daemon/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/daemon/main.c b/daemon/main.c index 8fa696742..41619d03a 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -1874,7 +1874,7 @@ int main(int argc, char **argv) { create_everything(); fill_initial_rtpe_cfg(&initial_rtpe_config); - ilog(LOG_INFO, "Startup complete, version %s", RTPENGINE_VERSION); + ilog(LOG_INFO, "Version %s initialising", RTPENGINE_VERSION); thread_create_detach(sighandler, NULL, "signals"); @@ -1933,8 +1933,6 @@ int main(int argc, char **argv) { websocket_start(); - service_notify("READY=1\n"); - for (unsigned int idx = 0; idx < num_poller_threads; ++idx) thread_create_detach_prio( #ifdef HAVE_LIBURING @@ -1950,6 +1948,9 @@ int main(int argc, char **argv) { jitter_buffer_launch(); codec_timers_launch(); + ilog(LOG_INFO, "Startup complete, version %s", RTPENGINE_VERSION); + service_notify("READY=1\n"); + // reap threads as they shut down during run time threads_join_all(false);