Keyboard input lag while streaming

So while I am streaming using Streamlabs OBS I get a crazy amount of input lag on my WASD. As soon as I stop my stream the input lag is gone. Has anybody else experienced this? Before anybody says anything about a controller or a wheel, keyboard is my only option, thats why i use it. Just curious if anybody else is dealing with this while streaming.