# Combining multiple producers into one simulcast consumer

**URL:** <https://mediasoup.discourse.group/t/combining-multiple-producers-into-one-simulcast-consumer/4941>\
**Category:** mediasoup libraries\
**Created:** [February 10, 2023, 7:10pm UTC](https://mediasoup.discourse.group/t/combining-multiple-producers-into-one-simulcast-consumer/4941 "2023-02-10T19:10:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![winston](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/winston/32/2007_2.png) [@winston](https://mediasoup.discourse.group/u/winston)\
**Post date:** [February 10, 2023, 7:10pm UTC](https://mediasoup.discourse.group/t/combining-multiple-producers-into-one-simulcast-consumer/4941/1 "2023-02-10T19:10:19Z")

</div>

Here is my setup so far:

```auto
┌───────────┐ ┌───────────┐
│SOURCE 360p│ │SOURCE 720p│
└───────────┘ └───────────┘
┌─────────────────────────┐
│ MEDIASOUP │
│ router ────► consumer │
└───────────────────┼─────┘
              WebRTC│
                ┌───▼────┐
                │ CLIENT │
                └────────┘

```

Both sources are two different resolutions of the same stream. I want them to be delivered to the consumer/client as simulcast.

The question is, can I use two RTP producers (one for each source) and combine them within mediasoup to one simulcast consumer? I am fine if the answer is a simple no, then I will do this outside of mediasoup. I just would like to do as much as possible inside mediasoup.

[Edit: Moved to mediasoup-libraries category since I only ask about the mediasoup API side of things. I am not asking for solutions outside of mediasoup as those would be outside the scope of thi whole forum anyway]
