Oh okay, interesting. Better codecs for 4k? I can run 4k videos fine it seems from YouTube, ripped files, etc. I'll check into what Kabby can do on this front.
Intel 6th generation Skylake (which is found in the 2015 iMac) does not support the hardware DRM that companies require for 4K streaming. On the Windows side, a minimum of Intel 7th generation Kaby Lake (which is found in the 2017 iMac) is required for Netflix 4K. On the Windows side, the GPU can be used for this now in some cases but Apple likely won't support this.
Furthermore, even if we were to ignore DRM for the time being, only Kaby Lake has the hardware for full hardware 10-bit 4K HEVC decode support for full 10-bit 4K streaming compatibility. Again, on the Windows side a discrete GPU can be used for this now, but we already know that Apple isn't supporting this on discrete GPUs in Macs.
As for YouTube, that hardware 4K DRM support is not necessary. However, in Safari, there is no 4K support at all, as YouTube only supports up to 1440p, and that's using h.264. In Chrome, 4K is supported, but this is using Google's VP9 codec. There is currently no hardware VP9 decode support on Macs, but that's OK, because 4K VP9 is easier to decode in software than 4K HEVC is.
And for ripped movies, they have no DRM either.
So, while 4K does work on 2015 iMacs in YouTube and for ripped movies, those are not at all representative of what is necessary for 4K streaming for DRM'd movies and TV shows.