Custom chunk duration can be set via 2nd parameter