Unhappy [Q] connect Xperia pro To Bravia TV

Guys can u tell me how connect xperia pro to bravia tv ..the tv has wifi and also direct wifi and also miracast compatible.
Currently im on ICS rom { Iridescent Zed One Rom } which has walkman,album and Movies app from xperia z and when i use wifi direct from tv it shows the phone is connected but i cannot throw any media from these three apps.
also tried CM11 roms which has CAST SCREEN feature but its also not working..
i can connect through HDMI and DNLA from my wifi router.
So any help on this confusing matter is welcomed .
thank you !