A two-tier strategy for priority based critical event surveillance with wireless multimedia sensors