One thing I found that helps for sharing an IPTV stream on Discord is to use OBS as an intermediary.
Instead of sharing the IPTV window directly into Discord, I capture the IPTV window in OBS to send the output of that as a virtual webcam stream, which I then share to Discord.
That seems to help with the framerate.