Emulate IR Reciever with Arduino

Hello,
I have HDMI switch which can be controlled via IR Remote.
I want to remove the infrared receiver and simulate its behavior via Arduino. The Arduino will be attached to IR via wire/s.

The requirement of my project is: the only way which the HDMI switch can be controlled has to be via arduino. Otherwise anybody with little knowledge can control it.

I have successfully managed to read the signals from the remote via this library: GitHub - Arduino-IRremote/Arduino-IRremote: Infrared remote library for Arduino: send and receive infrared signals with multiple protocols

Can you give advice how Arduino can emulate these signals?

Apart from the electrical levels needed to match the IR receiver component I would expect it to be simply to use the IR transmit sketch with the correct IR codes and instead of sending them via an IR LED you connect to the IR receiver.

Logic also must be reversed.
No signal from the remote is a HIGH on the receiver output.
Leo..