Unfortunately, there's no way to stream from a PS4 to a PC using an HDMI cable. Many modern laptops have an HDMI port, but this port is an "HDMI Out" port. It doesn't accept HDMI inputs at all. This scenario means that even if you connect your PS4 to your laptop with an HDMI cord, you won't be able to broadcast your games. If you want to stream to your PC, you're better off using PS4 Remote Play or a capture card.