An i5-7400 will probably work reasonably well if you use a graphics card based encoder for your stream, like Shadowplay. You probably wouldn't want to run a software-based encoder on the CPU though, at least with many newer titles that can make heavy use of four cores.