Added smooth streaming demuxer and optimized chunk generation time using threading for dash and smooth