# Fundamentals Question

**URL:** <https://mediasoup.discourse.group/t/fundamentals-question/2874>\
**Category:** mediasoup libraries\
**Created:** [June 2, 2021, 8:41pm UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874 "2021-06-02T20:41:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eusahn](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@eusahn](https://mediasoup.discourse.group/u/eusahn)\
**Post date:** [June 2, 2021, 8:41pm UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/1 "2021-06-02T20:41:45Z")

</div>

I’m just getting started with mediasoup and I have a question regarding the transporting concept.

If I want to receive, video and audio, do I require that a “peer” have separate producer transports for video and audio, and that I need to have also have two consumer transports to receive?

Or will one producer/consumer transport will suffice?

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [June 3, 2021, 12:48am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/2 "2021-06-03T00:48:22Z")

</div>

One transport can handle multiple media tracks so you only need one.

---

<div class="post-metadata">

**Author:** ![dimoochka](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/dimoochka/32/858_2.png) [@dimoochka](https://mediasoup.discourse.group/u/dimoochka)\
**Post date:** [June 3, 2021, 12:51am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/3 "2021-06-03T00:51:48Z")

</div>

Transports are also unidirectional (consumers in recvTransports and producers on sendTransports).

---

<div class="post-metadata">

**Author:** ![eusahn](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@eusahn](https://mediasoup.discourse.group/u/eusahn)\
**Post date:** [June 3, 2021, 1:01am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/4 "2021-06-03T01:01:59Z")

</div>

I see. If there’s 3 producers. (3 different peers), should the next peer have 3 consumers to consume 3 producers?

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [June 3, 2021, 1:05am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/5 "2021-06-03T01:05:23Z")

</div>

Yes the next peer will need one transport and would need to call consume three times, thus three consumers.

---

<div class="post-metadata">

**Author:** ![eusahn](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@eusahn](https://mediasoup.discourse.group/u/eusahn)\
**Post date:** [June 3, 2021, 1:07am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/6 "2021-06-03T01:07:10Z")

</div>

So 1 consumer transport, then call consume on it 3 times with different producer ids.

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [June 3, 2021, 1:08am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/7 "2021-06-03T01:08:56Z")

</div>

Yes .

---

<div class="post-metadata">

**Author:** ![dimoochka](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/dimoochka/32/858_2.png) [@dimoochka](https://mediasoup.discourse.group/u/dimoochka)\
**Post date:** [June 3, 2021, 1:37am UTC](https://mediasoup.discourse.group/t/fundamentals-question/2874/8 "2021-06-03T01:37:00Z")

</div>

Keep in mind that this is an SFU (client-server model) - all clients are connected to a monolithic mediasoup server (unless you build multiple servers). There’s no actual peer to peer like you would get with a WebRTC mesh model.
