# Broadcasting of stream from One to Many using multiple Mediasoup Server instances

**URL:** <https://mediasoup.discourse.group/t/broadcasting-of-stream-from-one-to-many-using-multiple-mediasoup-server-instances/72>\
**Category:** mediasoup libraries\
**Created:** [June 12, 2019, 1:35pm UTC](https://mediasoup.discourse.group/t/broadcasting-of-stream-from-one-to-many-using-multiple-mediasoup-server-instances/72 "2019-06-12T13:35:05Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![liwf616](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/liwf616/32/144_2.png) [@liwf616](https://mediasoup.discourse.group/u/liwf616)\
**Post date:** [August 2, 2019, 9:46am UTC](https://mediasoup.discourse.group/t/broadcasting-of-stream-from-one-to-many-using-multiple-mediasoup-server-instances/72/19 "2019-08-02T09:46:00Z")

</div>

1. sfu1-\>sfu2: invoke grpc to call createPipeTransport (listenIp of sfu2) in sfu2, and you need return sfu2‘s tuple.localIp and tuple.localPort to sfu1 by grpc.
2. sfu1-\>sfu1: call createPipeTransport(listenIp of sfu1) in sfu1, and you will get tuple.localIp+tuple.localPort of sfu1
3. sfu1-\>\>sfu2: invoke grpc to call PipeTransport.connect(tuple.localIp and tuple.localPort of sfu1) in sfu2, and the PipeTransport is the one which you have created in the first step
4. sfu1-\>\>sfu1: call PipeTransports.connect(tuple.localIp and tuple.localPort of sfu2) in sfu1, and the PipeTransport is the one which you have created in the second step
5. sfu1-\>\>sfu2: invoke grpc to call PipeTransport.consume in sfu2
6. sfu1-\>sfu1: call PipeTransport.produce in sfu1

After doing these steps ,sfu1 will receive the media packet from sfu2

---

_[View the full topic](https://mediasoup.discourse.group/t/broadcasting-of-stream-from-one-to-many-using-multiple-mediasoup-server-instances/72)._
