diff --git a/lib/tasks/dub.js b/lib/tasks/dub.js index 2daaf56f..41897a33 100644 --- a/lib/tasks/dub.js +++ b/lib/tasks/dub.js @@ -83,7 +83,8 @@ class TaskDub extends TtsTask { action: 'playOnTrack', track: this.track, play: this.play, - loop: this.loop ? 'loop' : 'once', + // drachtio-fsmrf will convert loop from boolean to 'loop' or 'once' + loop: this.loop, gain: this.gain }); }