Has anyone been successful with redirecting a webcam using the Microsoft Remote Desktop app/program to a Windows computer via a gateway over TCP?

When connected to the Windows computer via the gateway there is a lot of lag on the webcam video. Everything else seems fine. There is no lag with mouse/keyboard.
As a test so that we could connect from the same outside location we opened up a port on the firewall to RDP directly to the workstation and the lag was gone.
I have seen issues with lag when using a gaming mouse (mouse with high polling rate) when connecting via a gateway but a standard mouse was in use. the opened port was set to TCP only to confirm that UDP would not be used

So it seems that TCP via RD Gateway acts different than a direct TCP RDP connection.

Any suggestions on why TCP over a gateway acts different than a direct TCP connection? Any remedies for make webcam video better over TCP RDP via a RD gateway?

Take a read of this, video through a remote session can be demanding, it uses the RTSP codecs.

1 Spice up

Maybe packet size? Could your RD Gateway be repackaging jumbo frames? (…just a guess)

Forgot to mention in the OP that MacOS, iOS, and Android programs/app do not support UDP. I cannot use UDP with this and these are the ones with the issues. Windows to Windows connection over UDP work as expected without delay/lag. This is why I am asking for getting it to work over TCP specifically.
Since a direct connection using TCP works fine I would expect that TCP with a gateway would work as well.