Skip to content

ts/rt/Task: various improvements

François Laignel requested to merge fengalin/gst-plugins-rs:ts-stop-delay into main

When the iteration loop is throttling, the call to abort on the loop_abort_handle returns immediately, but the actual Future for the iteration loop is aborted only when the scheduler throttling completes. State transitions which require the loop to be aborted & which are serialized at the pipeline level can incur long delays.

This MR:

  • Adds an rtp mode to the threadshare benchmark suite and an option to auto stop after a given nb of buffers is received.
  • Adds logs to ts-jitterbuffer in a few places.
  • Use delay_for_at_least in ts-jitterbuffer. See #169 (closed).
  • Use a light-weight executor when a Task is awaiting for a transition ack or the state machine completion.
  • Makes sure the Task Context's scheduler is awaken as soon as the task loop is aborted.

Fixes #188 (closed)

Edited by François Laignel

Merge request reports

Loading