Screen mirroring from device (Android/iOS) to Desktop


I have been trying to capture the screens from device and then directly send it to Desktop standalone app. I have tried using WWW and TCP but it lags and sometimes memory allocation error at runtime. I heard that its possible through Unity in built scriptings or using UDP. Can anyone help me in doing this or any sample or references.?

Thanks in Advance.

Hi did you get solution ? i am searching for same !! or any other guide or suggestion ?