rtmp lag tvitch.tv or yotube

Good day! I have a mikrotik hap lite ac router. Version of routeos 6.39. I wanted to postrim on tvitch and yotube and have large logs, loss of frames. Do I have to configure something in the router so that there are no lags? On the straight through the cable everything works well