Replacing Audio

We have 2 incoming streams feeding a Wowza Streaming Engine instance on EC2. The streams come in over RTMP and are working just fine. We would like to replace the audio stream in one of these streams with the audio stream from the other. Is this possible and if so, how do we go about doing so? Your help is much appreciated.

I just wanted to answer my own question for the benefit of the community here. We found a solution to get this done on the Wowza servers but we had to use FFMPEG and it really looked far more complicated than we wanted it to be.

We found a free tool called OBS that allowed us to do this locally before sending the stream to the Wowza server. Highly recommend it. It is a neat little tool. Hope this helps someone.