Hello,
As I mentioned in post below that duration return in milliseconds, what if you sum up all durations in a variable and finally, you will be having time in milliseconds, and now you know how convert to HH:MM or other desired format.
totalDuration = totalDuration + newDuration