How to introduce a delay (2min) in the pipeline

Hello all,
Hope you guys are doing well!
I’m trying to add a 2min delay for audio stream in the pipeline, but none of my solutions work:

  • queue with max-size-time
    • doesn’t work at all
  • identity with ts-offset 2min + sync=true
    • the stream got delayed 2min, but following element adds 2 min silent audio automatically :rofl:
  • audioecho
    • doesn’t work at all

May I know if there are other ways to do this? Thanks in advance!

Could you provide your whole pipeline (or a cut-down pipeline that resembles roughly what you’re doing)?

Setting ts-offset property somewhere and/or pad offsets seems right, and you’ll probably also need to add a queue that has that much capacity then to store the delayed data (at least if you have live input).

As to the 2 min silence / audioecho - need more details.