Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <watchdog.h>
Public Member Functions | |
WatchdogConfig () | |
Initialize config with default values. More... | |
void | deduce_no_playback_timeout (core::nanoseconds_t target_latency) |
Automatically deduce no_playback_timeout from target_latency. More... | |
void | deduce_choppy_playback_window (core::nanoseconds_t timeout) |
Automatically deduce choppy_playback_window from choppy_playback_timeout. More... | |
Public Attributes | |
core::nanoseconds_t | no_playback_timeout |
Timeout for the lack of packets, nanoseconds. More... | |
core::nanoseconds_t | choppy_playback_timeout |
Timeout for frequent stuttering, nanoseconds. More... | |
core::nanoseconds_t | choppy_playback_window |
Window size of detecting stuttering, nanoseconds. More... | |
size_t | frame_status_window |
Frame status window size for logging, number of frames. More... | |
Watchdog parameters.
Definition at line 28 of file watchdog.h.
|
inline |
Initialize config with default values.
Definition at line 57 of file watchdog.h.
|
inline |
Automatically deduce choppy_playback_window from choppy_playback_timeout.
Definition at line 70 of file watchdog.h.
|
inline |
Automatically deduce no_playback_timeout from target_latency.
Definition at line 65 of file watchdog.h.
core::nanoseconds_t roc::audio::WatchdogConfig::choppy_playback_timeout |
Timeout for frequent stuttering, nanoseconds.
Definition at line 44 of file watchdog.h.
core::nanoseconds_t roc::audio::WatchdogConfig::choppy_playback_window |
Window size of detecting stuttering, nanoseconds.
Definition at line 49 of file watchdog.h.
size_t roc::audio::WatchdogConfig::frame_status_window |
Frame status window size for logging, number of frames.
Definition at line 54 of file watchdog.h.
core::nanoseconds_t roc::audio::WatchdogConfig::no_playback_timeout |
Timeout for the lack of packets, nanoseconds.
Definition at line 34 of file watchdog.h.