I wish to transmit sound from my android tv to android phone for using headphone

Solution
From what I have found online you can't do that.
Simpler solution is to just use a bluetooth audio transmitter connected to the TV and bluetooth headphones. Using your phone for longer periods would drain the batteries anyway.