# Integration

**URL:** https://mediasoup.discourse.group/c/integration/14.md?page=1

[Latest](https://mediasoup.discourse.group/latest.md) · [Categories](https://mediasoup.discourse.group/categories.md)

**Page:** 2

---

## [How to get stream data from producer on server side to pipe to fluent-ffmpeg](https://mediasoup.discourse.group/t/how-to-get-stream-data-from-producer-on-server-side-to-pipe-to-fluent-ffmpeg/5269)

<div class="topic-metadata">

**Author:** [@ironwill\_gg](https://mediasoup.discourse.group/u/ironwill_gg)\
**Replies:** 2\
**Last updated:** [February 14, 2025, 8:13am UTC](https://mediasoup.discourse.group/t/how-to-get-stream-data-from-producer-on-server-side-to-pipe-to-fluent-ffmpeg/5269 "2025-02-14T08:13:16Z")

</div>

Hello, I’ve developped a live streaming app using mediasoup but I’m having trouble understanding how data flows from producer to consumer on the server side. I’d like to get the producer video stream on the server and …

---

## [Help Me Understand the MediaSoup Integration Flow](https://mediasoup.discourse.group/t/help-me-understand-the-mediasoup-integration-flow/6427)

<div class="topic-metadata">

**Author:** [@Naveenravi07](https://mediasoup.discourse.group/u/Naveenravi07)\
**Replies:** 14\
**Last updated:** [January 21, 2025, 6:16pm UTC](https://mediasoup.discourse.group/t/help-me-understand-the-mediasoup-integration-flow/6427 "2025-01-21T18:16:16Z")

</div>

I’ve been trying to implement group video calling using MediaSoup, following the documentation carefully, but it’s not working as expected. Here’s the flow of my app: Client 1 (Sender): Joins a room, gets RTP capabilit…

---

## [Mediasoup integration into existing WebRTC architecture | Mental health teletherapy](https://mediasoup.discourse.group/t/mediasoup-integration-into-existing-webrtc-architecture-mental-health-teletherapy/6404)

<div class="topic-metadata">

**Author:** [@murilo.teleo.space](https://mediasoup.discourse.group/u/murilo.teleo.space)\
**Replies:** 10\
**Last updated:** [January 2, 2025, 8:34am UTC](https://mediasoup.discourse.group/t/mediasoup-integration-into-existing-webrtc-architecture-mental-health-teletherapy/6404 "2025-01-02T08:34:47Z")

</div>

Hello MediaSoup Community! We’re a small mission driven startup in the behavior health space (teleo.space) and are facing challenges as we scale our WebRTC architecture. After exploring options, we are considering Media…

---

## [Reverse proxy](https://mediasoup.discourse.group/t/reverse-proxy/6305)

<div class="topic-metadata">

**Author:** [@mactovish](https://mediasoup.discourse.group/u/mactovish)\
**Replies:** 6\
**Last updated:** [December 26, 2024, 3:41pm UTC](https://mediasoup.discourse.group/t/reverse-proxy/6305 "2024-12-26T15:41:41Z")

</div>

In case of reverse proxy, what should be announce IP in server code should it my original server IP or reverse proxy server ip

---

## [FFmpeg pull rtp stream from PlainTransport, but save to mp4 failed](https://mediasoup.discourse.group/t/ffmpeg-pull-rtp-stream-from-plaintransport-but-save-to-mp4-failed/6392)

<div class="topic-metadata">

**Author:** [@hyc242828](https://mediasoup.discourse.group/u/hyc242828)\
**Replies:** 0\
**Last updated:** [December 17, 2024, 6:43am UTC](https://mediasoup.discourse.group/t/ffmpeg-pull-rtp-stream-from-plaintransport-but-save-to-mp4-failed/6392 "2024-12-17T06:43:48Z")

</div>

Reference mediasoup documentation and mediasoup3-record-demo. The rtp stream can be obtained from plaintransport, but can not save to mp4. And ffmpeg log display “Unkown error”. What is the problem? Any help would be gr…

---

## [How to optimize recording feature with mediasoup?](https://mediasoup.discourse.group/t/how-to-optimize-recording-feature-with-mediasoup/6367)

<div class="topic-metadata">

**Author:** [@hassan888](https://mediasoup.discourse.group/u/hassan888)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 11:01am UTC](https://mediasoup.discourse.group/t/how-to-optimize-recording-feature-with-mediasoup/6367 "2024-11-29T11:01:11Z")

</div>

I am using Mediasoup for video conference call and now i have add ffmpeg for recording feature. Ffmpeg code below get \_commandArgs() { let commandArgs = \[ '-loglevel', 'debug', '-report', '-…

---

## [Completely confused](https://mediasoup.discourse.group/t/completely-confused/6355)

<div class="topic-metadata">

**Author:** [@thenowhere](https://mediasoup.discourse.group/u/thenowhere)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 2:31am UTC](https://mediasoup.discourse.group/t/completely-confused/6355 "2024-11-20T02:31:55Z")

</div>

I have a setup using mediasoup with a media server which connects to the client via a TURN server to produce a live stream. The livestream is working for most clients who connect, successfully setting up an ICE lite conn…

---

## [want to extract audio from producer to transcribe](https://mediasoup.discourse.group/t/want-to-extract-audio-from-producer-to-transcribe/6343)

<div class="topic-metadata">

**Author:** [@ayuxhxoni](https://mediasoup.discourse.group/u/ayuxhxoni)\
**Replies:** 1\
**Last updated:** [November 14, 2024, 10:06am UTC](https://mediasoup.discourse.group/t/want-to-extract-audio-from-producer-to-transcribe/6343 "2024-11-14T10:06:27Z")

</div>

i want to extract the audio from the producer, how can i extract or duplicate it

---

## [Recorded Audio (FFMPEG or GStreamer) removes gaps/ silent phases](https://mediasoup.discourse.group/t/recorded-audio-ffmpeg-or-gstreamer-removes-gaps-silent-phases/2930)

<div class="topic-metadata">

**Author:** [@ngaheer](https://mediasoup.discourse.group/u/ngaheer)\
**Replies:** 9\
**Last updated:** [October 27, 2024, 10:37pm UTC](https://mediasoup.discourse.group/t/recorded-audio-ffmpeg-or-gstreamer-removes-gaps-silent-phases/2930 "2024-10-27T22:37:07Z")

</div>

I am testing recording of video and audio by creating a plain transport which is then consumed by FFMPEG process spawned by my app. When I play the recorded video, I see that the audio seems to jump ahead and gets out of…

---

## [Implementing Recording In Mediasoup Conference Software](https://mediasoup.discourse.group/t/implementing-recording-in-mediasoup-conference-software/5715)

<div class="topic-metadata">

**Author:** [@HGB467](https://mediasoup.discourse.group/u/HGB467)\
**Replies:** 30\
**Last updated:** [October 24, 2024, 4:29pm UTC](https://mediasoup.discourse.group/t/implementing-recording-in-mediasoup-conference-software/5715 "2024-10-24T16:29:44Z")

</div>

Hi, I am Looking To Implement Conference Recording In A Web Application That Uses Mediasoup. I Have Tried Using Puppeteer To Join Meeting As A Ghost Participant And Then Use Puppeteer-Stream Library To Record It But That…

---

## [recording mediasoup stream by Kurento](https://mediasoup.discourse.group/t/recording-mediasoup-stream-by-kurento/6306)

<div class="topic-metadata">

**Author:** [@javadhadinezhad](https://mediasoup.discourse.group/u/javadhadinezhad)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 7:26am UTC](https://mediasoup.discourse.group/t/recording-mediasoup-stream-by-kurento/6306 "2024-10-22T07:26:15Z")

</div>

hello I tested stream filtering by Korento and everything works very well. Project link: What changes should be made in the code to record the stream instead of filtering ? I applied the following changes for testing…

---

## [SRTP decryption invalid authTag in golang srtp lib](https://mediasoup.discourse.group/t/srtp-decryption-invalid-authtag-in-golang-srtp-lib/6275)

<div class="topic-metadata">

**Author:** [@jsd](https://mediasoup.discourse.group/u/jsd)\
**Replies:** 3\
**Last updated:** [October 1, 2024, 10:24am UTC](https://mediasoup.discourse.group/t/srtp-decryption-invalid-authtag-in-golang-srtp-lib/6275 "2024-10-01T10:24:15Z")

</div>

Hi there I have the following setup: mediasoup PlainTransport with srtpParameters (AES\_CM\_128\_HMAC\_SHA1\_80 profile) sends SRTP packets to golang app with pion/srtp lib on board. keyBase64 are equal as well as encryption…

---

## [nvh264enc and gstreamer](https://mediasoup.discourse.group/t/nvh264enc-and-gstreamer/6240)

<div class="topic-metadata">

**Author:** [@josefhernandez](https://mediasoup.discourse.group/u/josefhernandez)\
**Replies:** 0\
**Last updated:** [September 8, 2024, 10:10am UTC](https://mediasoup.discourse.group/t/nvh264enc-and-gstreamer/6240 "2024-09-08T10:10:22Z")

</div>

Hi, I need to send 10 simultaneous videos from the same device. The only available option is to use hardware-accelerated encoder I have the following pipeline: gst-launch-1.0 rtpbin name=rtpbin rtp-profile=avpf \\ …

---

## [Can't decode frames on client encoded using NVENC](https://mediasoup.discourse.group/t/cant-decode-frames-on-client-encoded-using-nvenc/1908)

<div class="topic-metadata">

**Author:** [@MoizAhmedd](https://mediasoup.discourse.group/u/MoizAhmedd)\
**Replies:** 1\
**Last updated:** [September 8, 2024, 10:00am UTC](https://mediasoup.discourse.group/t/cant-decode-frames-on-client-encoded-using-nvenc/1908 "2024-09-08T10:00:34Z")

</div>

I have been using x264enc for a while with no issues encoding/decoding frames. However I have recently switched to nvenc and am experiencing issues get a stream. When I send a stream using gstreamer with the following p…

---

## [a few to many](https://mediasoup.discourse.group/t/a-few-to-many/6225)

<div class="topic-metadata">

**Author:** [@kiven1](https://mediasoup.discourse.group/u/kiven1)\
**Replies:** 0\
**Last updated:** [September 3, 2024, 7:32pm UTC](https://mediasoup.discourse.group/t/a-few-to-many/6225 "2024-09-03T19:32:13Z")

</div>

hi , i want to create a room and the author of the room is the admin of the room by defualt and the admin can invite friend to produce and consume media to eachother but thats such an easy task to do , but what ive been…

---

## [how to configure twilio as turn server for mediasoup app](https://mediasoup.discourse.group/t/how-to-configure-twilio-as-turn-server-for-mediasoup-app/6209)

<div class="topic-metadata">

**Author:** [@deepansh-maurya](https://mediasoup.discourse.group/u/deepansh-maurya)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 5:19am UTC](https://mediasoup.discourse.group/t/how-to-configure-twilio-as-turn-server-for-mediasoup-app/6209 "2024-08-14T05:19:14Z")

</div>

i am facing strange behavior of mediasoup while using the public ip as announcedaddress for creating the transport on the server side, my conncetion is failing or disconnecting , so i want to use twilio as a turn server,…

---

## [Unable to render the remote track in react-native using react-native-webrtc](https://mediasoup.discourse.group/t/unable-to-render-the-remote-track-in-react-native-using-react-native-webrtc/6168)

<div class="topic-metadata">

**Author:** [@ashfaq-ahmed](https://mediasoup.discourse.group/u/ashfaq-ahmed)\
**Replies:** 0\
**Last updated:** [July 27, 2024, 5:27am UTC](https://mediasoup.discourse.group/t/unable-to-render-the-remote-track-in-react-native-using-react-native-webrtc/6168 "2024-07-27T05:27:40Z")

</div>

Hi, I am using react-native-webrtc 124.0.3 and mediasoup-client 3.7.12, I am unable to render the remote stream received over a recv transport using RTCView. I just get a black area or empty area. I saw this issue but I…

---

## [Mediasoup -- React Integration](https://mediasoup.discourse.group/t/mediasoup-react-integration/6121)

<div class="topic-metadata">

**Author:** [@manthan-sharma-23](https://mediasoup.discourse.group/u/manthan-sharma-23)\
**Replies:** 6\
**Last updated:** [July 15, 2024, 12:11am UTC](https://mediasoup.discourse.group/t/mediasoup-react-integration/6121 "2024-07-15T00:11:03Z")

</div>

Hey there anyone out here has built react app with mediasoup functionality for sfu in it. Want to connect further has been having a hard time setting things up Thank you !!

---

## [Does mediasoup-demo example with gstreamer supports rtcp feedback?](https://mediasoup.discourse.group/t/does-mediasoup-demo-example-with-gstreamer-supports-rtcp-feedback/6124)

<div class="topic-metadata">

**Author:** [@EternalWinter](https://mediasoup.discourse.group/u/EternalWinter)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 10:45am UTC](https://mediasoup.discourse.group/t/does-mediasoup-demo-example-with-gstreamer-supports-rtcp-feedback/6124 "2024-07-03T10:45:41Z")

</div>

Hi there! I was recently looking for information about correct setup of gstreamer and mediasoup with rtcp feedback support. And then i found this example And as i can see this pipeline doesn’t use the udpsrc at all (usu…

---

## [Questions about how mediasoup connects to TURN servers from both ends](https://mediasoup.discourse.group/t/questions-about-how-mediasoup-connects-to-turn-servers-from-both-ends/6109)

<div class="topic-metadata">

**Author:** [@kbaran](https://mediasoup.discourse.group/u/kbaran)\
**Replies:** 1\
**Last updated:** [June 29, 2024, 12:12am UTC](https://mediasoup.discourse.group/t/questions-about-how-mediasoup-connects-to-turn-servers-from-both-ends/6109 "2024-06-29T00:12:52Z")

</div>

I’ve been trying to integrate TURN servers into my application’s stack. Up until now, we’ve had our mediasoup backend servers publicly available, but for security purposes we want to make them private so that everything …

---

## [Using in-band WebRTC DCEP (ppid 50) for SDP DataChannels](https://mediasoup.discourse.group/t/using-in-band-webrtc-dcep-ppid-50-for-sdp-datachannels/6105)

<div class="topic-metadata">

**Author:** [@j1elo](https://mediasoup.discourse.group/u/j1elo)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 12:12pm UTC](https://mediasoup.discourse.group/t/using-in-band-webrtc-dcep-ppid-50-for-sdp-datachannels/6105 "2024-06-27T12:12:08Z")

</div>

Hi Forum, Are there any, if remote, plans to support the SCTP Payload Protocol Identifier 50 (WebRTC Data Channel Establishment Protocol, DCEP) in mediasoup? I made my research and know that as of this writing, receivi…

---

## [closing client connection with server.](https://mediasoup.discourse.group/t/closing-client-connection-with-server/989)

<div class="topic-metadata">

**Author:** [@Manish](https://mediasoup.discourse.group/u/Manish)\
**Replies:** 9\
**Last updated:** [June 24, 2024, 7:15am UTC](https://mediasoup.discourse.group/t/closing-client-connection-with-server/989 "2024-06-24T07:15:06Z")

</div>

Hi, My integration of mediasoup working fine with React. What I can’t figure out closing the connection properly with server so that I can end call.

---

## [How to update appData in between video Stream](https://mediasoup.discourse.group/t/how-to-update-appdata-in-between-video-stream/6077)

<div class="topic-metadata">

**Author:** [@technicalbirdVayuz](https://mediasoup.discourse.group/u/technicalbirdVayuz)\
**Replies:** 6\
**Last updated:** [May 29, 2024, 8:03am UTC](https://mediasoup.discourse.group/t/how-to-update-appdata-in-between-video-stream/6077 "2024-05-29T08:03:56Z")

</div>

Hey Everyone, We are building a video conferencing solution using Mediasoup, now I need to apply background filters similar to Google meet, Idea was to use a webcam producer and use appData object to send the applied f…

---

## [Does Gstreamer rtprtxqueue impact Mediasoup BWE negatively?](https://mediasoup.discourse.group/t/does-gstreamer-rtprtxqueue-impact-mediasoup-bwe-negatively/6023)

<div class="topic-metadata">

**Author:** [@ea167](https://mediasoup.discourse.group/u/ea167)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 2:35am UTC](https://mediasoup.discourse.group/t/does-gstreamer-rtprtxqueue-impact-mediasoup-bwe-negatively/6023 "2024-05-02T02:35:08Z")

</div>

Hello, In every example I’ve found, notably including the amazing mediasoupbin plugin by @vpalmisano, the Gstreamer pipeline uses rtprtxqueue for nack retransmission (example pipeline here). The rtprtxqueue documentati…

---

## [No RTP retransmission when injecting video and audio from Gstreamer](https://mediasoup.discourse.group/t/no-rtp-retransmission-when-injecting-video-and-audio-from-gstreamer/3894)

<div class="topic-metadata">

**Author:** [@neer](https://mediasoup.discourse.group/u/neer)\
**Replies:** 2\
**Last updated:** [May 2, 2024, 2:20am UTC](https://mediasoup.discourse.group/t/no-rtp-retransmission-when-injecting-video-and-audio-from-gstreamer/3894 "2024-05-02T02:20:15Z")

</div>

I am trying to inject stream from an RTMP source to Mediasoup with the following Gstreamer command: gst-launch-1.0 -v \\ rtpbin name=rtpbin \\ rtmpsrc location=${RTMP\_URL} \\ ! flvdemux name=demux \\ demux.v…

---

## [Create multiple producer and consumer](https://mediasoup.discourse.group/t/create-multiple-producer-and-consumer/6004)

<div class="topic-metadata">

**Author:** [@S03XY](https://mediasoup.discourse.group/u/S03XY)\
**Replies:** 7\
**Last updated:** [April 25, 2024, 7:40am UTC](https://mediasoup.discourse.group/t/create-multiple-producer-and-consumer/6004 "2024-04-25T07:40:24Z")

</div>

I have read the documentation on my best senses and I still have 2 questions: Consider a scenario where I have a single broadcaster broadcasting 2 streams containing a video track and an audio track, totaling 4 tracks…

---

## [Is it "best practice" to have one router per worker, or is it okay to have more than one router per worker?](https://mediasoup.discourse.group/t/is-it-best-practice-to-have-one-router-per-worker-or-is-it-okay-to-have-more-than-one-router-per-worker/2730)

<div class="topic-metadata">

**Author:** [@ChannelJuanNews](https://mediasoup.discourse.group/u/ChannelJuanNews)\
**Replies:** 11\
**Last updated:** [April 12, 2024, 3:34am UTC](https://mediasoup.discourse.group/t/is-it-best-practice-to-have-one-router-per-worker-or-is-it-okay-to-have-more-than-one-router-per-worker/2730 "2024-04-12T03:34:50Z")

</div>

Hello, I have integrated the Mediasoup API into my own project and I was able to get multiple audio producers and consumers working on different devices with some hiccups, but it did work. My current design integrates …

---

## [Mediasoup and Electron](https://mediasoup.discourse.group/t/mediasoup-and-electron/5956)

<div class="topic-metadata">

**Author:** [@OmegaCentauri](https://mediasoup.discourse.group/u/OmegaCentauri)\
**Replies:** 6\
**Last updated:** [April 1, 2024, 7:49am UTC](https://mediasoup.discourse.group/t/mediasoup-and-electron/5956 "2024-04-01T07:49:06Z")

</div>

Hi all, Does anyone have any insight into implementing Mediasoup with Electron? The issue I’m currently having is I cannot use ‘new mediasoup.Device();’ within the main process, as it is not exposed to the chromium fro…

---

## [when user pause the producer a black stream is recording , i need to record an image instead of black stream , how to do it ?](https://mediasoup.discourse.group/t/when-user-pause-the-producer-a-black-stream-is-recording-i-need-to-record-an-image-instead-of-black-stream-how-to-do-it/5920)

<div class="topic-metadata">

**Author:** [@rezahabibi](https://mediasoup.discourse.group/u/rezahabibi)\
**Replies:** 5\
**Last updated:** [March 27, 2024, 8:19am UTC](https://mediasoup.discourse.group/t/when-user-pause-the-producer-a-black-stream-is-recording-i-need-to-record-an-image-instead-of-black-stream-how-to-do-it/5920 "2024-03-27T08:19:25Z")

</div>

please help me , i have tried some ways but does not work well

---

## [Processing Video Serverside and streaming via ffmpeg](https://mediasoup.discourse.group/t/processing-video-serverside-and-streaming-via-ffmpeg/5906)

<div class="topic-metadata">

**Author:** [@anasmohammed361](https://mediasoup.discourse.group/u/anasmohammed361)\
**Replies:** 0\
**Last updated:** [March 7, 2024, 10:19am UTC](https://mediasoup.discourse.group/t/processing-video-serverside-and-streaming-via-ffmpeg/5906 "2024-03-07T10:19:52Z")

</div>

I am tryping to process a video on the server side using Mediasoup PlainRTPTransport, i am piping my RTP stream to ffmpeg to gather the image frames const cmdArgStr = \[ "-nostdin", "-protocol\_whitelist file,r…

[Previous page](https://mediasoup.discourse.group/c/integration/14.md)

[Next page](https://mediasoup.discourse.group/c/integration/14.md?page=2)
