partial fix for mix videos with and without audio
use duration for live streams, and added settings of stream