mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
fixed dub playOnTrack loop forever (#1247)
This commit is contained in:
@@ -83,7 +83,8 @@ class TaskDub extends TtsTask {
|
|||||||
action: 'playOnTrack',
|
action: 'playOnTrack',
|
||||||
track: this.track,
|
track: this.track,
|
||||||
play: this.play,
|
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
|
gain: this.gain
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user