37template <
typename Platform>
42 LOGD(
"Creating RTSP Audio streamer with task");
59 LOGI(
"Task parameters set: stack=%d bytes, priority=%d, core=%d",
60 stackSize, priority, core);
62 LOGW(
"Cannot change task parameters while streaming is active");
67 LOGI(
"Starting RTP Stream with task");
73 LOGE(
"Failed to create streaming task");
81 LOGI(
"Streaming task started successfully");
82 LOGI(
"Task: stack=%d bytes, priority=%d, core=%d, period=%d us",
86 LOGI(
"Free heap size: %i KB", esp_get_free_heap_size() / 1000);
89 LOGE(
"Failed to start streaming task");
96 LOGI(
"Stopping RTP Stream with task");
103 LOGI(
"RTP Stream with task stopped - ready for restart");
124 LOGD(
"Streaming task loop iteration");
125 auto iterationStartUs =
micros();
135 LOGI(
"Timer period updated; resetting throttle window to %u us",
143 unsigned long nowUs =
micros();
145 if (actualUs < expectedUs) {
146 uint32_t remainingUs = (uint32_t)(expectedUs - actualUs);
147 if (remainingUs >= 1000)
delay(remainingUs / 1000);
148 uint32_t remUs = remainingUs % 1000;
#define LOGW(...)
Definition AudioLoggerIDF.h:29
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGD(...)
Definition AudioLoggerIDF.h:27
#define LOGE(...)
Definition AudioLoggerIDF.h:30