fix issue with streaming sources that only contain audio, rtmp streaming couldnt be used if one of the sources was only audio because the script gave an error