17 unstable releases (7 breaking)

0.12.4 Apr 8, 2024
0.12.3 Mar 21, 2024
0.12.1 Feb 13, 2024
0.11.2 Nov 11, 2023
0.6.0 Jul 10, 2020

#171 in Video

Download history 34/week @ 2024-02-13 61/week @ 2024-02-20 71/week @ 2024-02-27 2/week @ 2024-03-12 122/week @ 2024-03-19 3/week @ 2024-03-26 100/week @ 2024-04-02 45/week @ 2024-04-09 3/week @ 2024-04-16

133 downloads per month

MPL-2.0 license

120KB
2.5K SLoC

togglerecord

A multistream valve-like plugin that ensures multiple streams start/end at the same time.

It supports both live and non-live input and toggles recording via the record property. Live inputs will be dropped when not recording, while non-live inputs will be blocked.

Use cases

The is-live property refers to whether the output of the element will be live. So, based on whether the input is live and on whether the output is-live, we have these four behaviours:

  • Live input + is-live=false:

    • While not recording, drop input
    • When recording is started, offset to collapse the gap
  • Live input + is-live=true:

    • While not recording, drop input
    • Don't modify the offset
  • Non-live input + is-live=false:

    • While not recording, block input
    • Don't modify the offset
  • Non-live input + is-live=true:

    • While not recording, block input
    • When recording is started, offset to current running time

Dependencies

~10–22MB
~363K SLoC