File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/AudioTools/Communication/RTSP Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1033,7 +1033,7 @@ class RTSPAudioStreamerUsingTask : public RTSPAudioStreamerBase<Platform> {
10331033 * on the expected elapsed time (interval * timerPeriodUs) versus the actual
10341034 * elapsed time, then resets the interval window.
10351035 *
1036- * @param interval Number of sends per throttle window (e.g., 1000 or 10000 )
1036+ * @param interval Number of sends per throttle window (e.g., 1 = every send) (default value 50 )
10371037 */
10381038 void setThrottleInterval (uint32_t interval) {
10391039 m_throttle_interval = interval;
@@ -1048,7 +1048,7 @@ class RTSPAudioStreamerUsingTask : public RTSPAudioStreamerBase<Platform> {
10481048 bool m_throttled = true ; // /< Enable precise microsecond timing
10491049 uint16_t m_fixed_delay_ms = 1 ; // /< Fixed delay in milliseconds (if used)
10501050 uint32_t m_throttle_interval =
1051- 1000 ; // /< Number of sends before precise correction
1051+ 50 ; // /< Number of sends before precise correction
10521052 uint32_t m_send_counter =
10531053 0 ; // /< Counts sends within the current throttle window
10541054 unsigned long m_last_throttle_us =
You can’t perform that action at this time.
0 commit comments