# Combine two live input audio/video streams into one audio output

**URL:** <https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012>\
**Category:** Wowza Streaming Engine\
**Created:** [October 27, 2017, 3:45pm UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012 "2017-10-27T15:45:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mie\_Puh](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@Mie\_Puh](https://community.wowza.com/u/Mie_Puh)\
**Post date:** [October 27, 2017, 3:45pm UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/1 "2017-10-27T15:45:49Z")

</div>

Hi,

I have two live input streams with video and audio track each. I want to combine them in one output stream to record it as a conversation (audio has priority, video - not).

I’ve seen multiple similar questions around, but they are all outdated. Are there any news on the topic?

---

<div class="post-metadata">

**Author:** ![Jermaine\_Hemby](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jermaine\_Hemby](https://community.wowza.com/u/Jermaine_Hemby)\
**Post date:** [October 28, 2017, 3:33pm UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/2 "2017-10-28T15:33:55Z")

</div>

Hello,

Thanks for contacting the Wowza Community

Can you review this article?  
[https://www.wowza.com/docs/how-to-use-alternative-audio-or-video-tracks-with-apple-hls-streams](https://www.wowza.com/docs/how-to-use-alternative-audio-or-video-tracks-with-apple-hls-streams)

This may or may not be of some help for your particular workflow.

regards,  
Jermaine

---

<div class="post-metadata">

**Author:** ![Mie\_Puh](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@Mie\_Puh](https://community.wowza.com/u/Mie_Puh)\
**Post date:** [October 30, 2017, 3:32pm UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/3 "2017-10-30T15:32:10Z")

</div>

Hello,

Thank you for the response. I am not sure if the article can help in my situation. I do not provide multiple separate audio streams to the user (for language selection, etc.). I have multiple participants in an audio-video connection (with one audio-video stream per participant) and want to record their conversation in on audio file. Post-processing of multiple audio tracks into one is also not an option, since every participant might join the conversation at different time and have connection interruptions as well.

---

<div class="post-metadata">

**Author:** ![Mie\_Puh](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@Mie\_Puh](https://community.wowza.com/u/Mie_Puh)\
**Post date:** [October 30, 2017, 4:08pm UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/4 "2017-10-30T16:08:02Z")

</div>

I also tried to extend the videochat app (provided in examples of the trial engine version) with the avMix module.

I expected that if I define axMixNames prop as “outputName: myOutput, videoName: myVideo, audioName: myAudio” and start-publish a stream named myVideo, then a stream “myOutput” would exist and would be play-able in the second chat video. However, “failed to play outputStream; stream not found” was all I got. What did I do wrong?

---

<div class="post-metadata">

**Author:** ![Mauricio\_Castro](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mauricio\_Castro](https://community.wowza.com/u/Mauricio_Castro)\
**Post date:** [December 1, 2017, 10:32am UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/5 "2017-12-01T10:32:38Z")

</div>

Were you able to find any resolution to this? I also have the same case now, I need to generate a final signal with the chat participants.

---

<div class="post-metadata">

**Author:** ![Albert\_Thatcher](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Albert\_Thatcher](https://community.wowza.com/u/Albert_Thatcher)\
**Post date:** [December 3, 2017, 2:52pm UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/6 "2017-12-03T14:52:49Z")

</div>

Any update?

---

<div class="post-metadata">

**Author:** ![Mie\_Puh](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@Mie\_Puh](https://community.wowza.com/u/Mie_Puh)\
**Post date:** [December 4, 2017, 7:18am UTC](https://community.wowza.com/t/combine-two-live-input-audio-video-streams-into-one-audio-output/50012/7 "2017-12-04T07:18:14Z")

</div>

Unfortunately, no good news. Figured out that avMix is not an option to combine 2 streams of the same type (f.e. 2 video or 2 audio). You can only compose 1 video + 1 audio together. Overall, after frustrating experience with the streaming engine, I had to search for solution not connected with wowza at all.
