Your phone must be rooted for this to work however.
Basically the fix is:
1) Install ES File Explorer
2) Navigate to the /Device/system folder (make sure Root Explorer is enabled from the Tools menu first)
3) Edit the build.prop file
4) Add the setting: wlan.wfd.hdcp=disable (anywhere within the additional build properties section, preferably at the end)
5) Save and reboot!
I have had this problem with Cyanogenmod12 and now a Note5 Rom on a Note3 phone. After the simple fix in the video above and a reboot, it worked like a charm.