Anurag Thakur warned that OTT platforms serving obscene content would face consequences.