21 releases

0.13.4 Dec 24, 2024
0.13.3 Nov 2, 2024
0.13.0 Jul 16, 2024
0.12.3 Mar 21, 2024
0.6.0 Jul 10, 2020

#366 in Video

Download history 11/week @ 2024-09-21 1/week @ 2024-09-28 1/week @ 2024-10-05 150/week @ 2024-11-02 61/week @ 2024-11-09 23/week @ 2024-11-16 2/week @ 2024-11-23 51/week @ 2024-12-07 113/week @ 2024-12-21 7/week @ 2024-12-28 10/week @ 2025-01-04

130 downloads per month

MPL-2.0 license

125KB
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–20MB
~357K SLoC