How these frogs defend their eggs from wasps

Normally, it’s the other way around, with frogs eating insects. But in this case, these frogs have to defend their eggs from wasps to avoid them getting eaten.