updated, added mpeg-dash function