This is what happened in the Mumbai attacks in 2007 too, the media was giving away every single thing happening outside.
It was also a problem during the siege at the 1972 Munich Olympics: https://en.wikipedia.org/wiki/Munich_massacre#Negotiations
That's the free market: competition between different media agencies and no government regulation.
Hey, the militants must've also accepted they were doing the wrong thing, but what can they do? It's their job. /sarcasm
Great job for strengthening the terrorists' position. The good guys in the government and police are trying to combat the insurgency, and these leeches are undermining that effort.