The victim's father, who recently discovered the video, approached the police and a complaint was registered against Hani Aswani's ex-girlfriend for abetment to suicide, police said.
No arrests have been made so far and investigation is underway, police said.
The father told the police on Saturday that his son was upset over their breakup, said Inspector MG Waghmare, Hill Line police station.
His son was in a relationship with the woman for the last six years. However, things soured recently and they decided to part ways, the complaint said.
The police said that before committing suicide, Hani made a video call to his ex-girlfriend and told her that he was going to end his life.
When the father returned home at night, he saw his son hanging from the ceiling. A case of accidental death was registered.
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019