A man filmed another man with a hidden camera ‘for his own sexual gratification’, attacked him and bombarded the victim with calls and messages.