After the foreach closes add:
if($dataArray['streams'] == null or $dataArray['streams'] == "")
{
echo "<p>There are currently no live streams.</p>";
echo "<p>Refresh this page to retrieve live streams or check back later!</p>";
}
This will output the above if $dataArray[‘streams’] returns null or “”.