Get buffer audio and send it to another server

Hi there !
I want get buffer audio in Server 1, and then send it to Server 2.

How to get buffer audio in Server 1, and then send it to Server 2 ?
How to received buffer in Server 2 ?

I’m using demo : GitHub - Dirvann/mediasoup-sfu-webrtc-video-rooms: A simple video conferencing example using the mediasoup sfu

You want to use a pipeTransport for this:

Also you may want to look at the pipeToRouter method if the second server happens to be on the same host.

1 Like