Function gstreamer::functions::debug_add_ring_buffer_logger[][src]

pub fn debug_add_ring_buffer_logger(
    max_size_per_thread: u32,
    thread_timeout: u32
)
This is supported on crate feature v1_14 only.
Expand description

Adds a memory ringbuffer based debug logger that stores up to max_size_per_thread bytes of logs per thread and times out threads after thread_timeout seconds of inactivity.

Logs can be fetched with debug_ring_buffer_logger_get_logs() and the logger can be removed again with debug_remove_ring_buffer_logger(). Only one logger at a time is possible.

max_size_per_thread

Maximum size of log per thread in bytes

thread_timeout

Timeout for threads in seconds