Lifetime maximization schemes under end-to-end frame-error constraints in wireless multimedia sensor networks