# Integration

**URL:** https://mediasoup.discourse.group/c/integration/14.md

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

---

## [About the Integration category](https://mediasoup.discourse.group/t/about-the-integration-category/916)

<div class="topic-metadata">

**Author:** [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 2:15pm UTC](https://mediasoup.discourse.group/t/about-the-integration-category/916 "2020-04-29T14:15:51Z")

</div>

Questions about integration of 3rd party libraries/applications (GStreamer, FFmpeg, TURN servers, etc) with mediasoup and its ecosystem.

---

## [mediasoup-client-wrtc: Running mediasoup-client in Node.js as a Headless WebRTC Endpoint](https://mediasoup.discourse.group/t/mediasoup-client-wrtc-running-mediasoup-client-in-node-js-as-a-headless-webrtc-endpoint/6998)

<div class="topic-metadata">

**Author:** [@piranna](https://mediasoup.discourse.group/u/piranna)\
**Replies:** 0\
**Last updated:** [August 22, 2026, 12:47pm UTC](https://mediasoup.discourse.group/t/mediasoup-client-wrtc-running-mediasoup-client-in-node-js-as-a-headless-webrtc-endpoint/6998 "2026-08-22T12:47:14Z")

</div>

mediasoup-client-wrtc: Running mediasoup-client in Node.js as a Headless WebRTC Endpoint I’ve just published a new deep-dive article about mediasoup-client-wrtc, an Open Source mediasoup-client handler that allows a Nod…

---

## [Injecting AI-generated speech (TTS → FFmpeg → PlainTransport) — two gotchas worth knowing](https://mediasoup.discourse.group/t/injecting-ai-generated-speech-tts-ffmpeg-plaintransport-two-gotchas-worth-knowing/6992)

<div class="topic-metadata">

**Author:** [@sumit298](https://mediasoup.discourse.group/u/sumit298)\
**Replies:** 1\
**Last updated:** [August 6, 2026, 11:19pm UTC](https://mediasoup.discourse.group/t/injecting-ai-generated-speech-tts-ffmpeg-plaintransport-two-gotchas-worth-knowing/6992 "2026-08-06T23:19:47Z")

</div>

I recently added an AI voice to an existing MediaSoup SFU — an LLM generates text, Google Cloud TTS produces PCM, FFmpeg encodes to Opus RTP, and it lands on a PlainTransport producer so viewers consume it like any oth…

---

## [Mediasoup DataChannels vs WebSockets: an architectural experiment](https://mediasoup.discourse.group/t/mediasoup-datachannels-vs-websockets-an-architectural-experiment/6986)

<div class="topic-metadata">

**Author:** [@piranna](https://mediasoup.discourse.group/u/piranna)\
**Replies:** 11\
**Last updated:** [July 12, 2026, 11:30am UTC](https://mediasoup.discourse.group/t/mediasoup-datachannels-vs-websockets-an-architectural-experiment/6986 "2026-07-12T11:30:03Z")

</div>

Hi everyone! I recently published a small experiment exploring an idea that had been in the back of my mind for quite some time: using Mediasoup DataChannels as a replacement for WebSockets. It’s not a new library or f…

---

## [Is .close() enough, or should we also call .removeAllListeners() on Transports, Producers, and Consumers?](https://mediasoup.discourse.group/t/is-close-enough-or-should-we-also-call-removealllisteners-on-transports-producers-and-consumers/6976)

<div class="topic-metadata">

**Author:** [@barry](https://mediasoup.discourse.group/u/barry)\
**Replies:** 2\
**Last updated:** [June 4, 2026, 5:10am UTC](https://mediasoup.discourse.group/t/is-close-enough-or-should-we-also-call-removealllisteners-on-transports-producers-and-consumers/6976 "2026-06-04T05:10:54Z")

</div>

Hi everyone, I have a question about resource cleanup in mediasoup. When removing a Transport, Producer, or Consumer, is calling .close() enough, or is it also recommended to call .removeAllListeners()? For example: p…

---

## [Module for sending/receiving PCM data from PlainTransport](https://mediasoup.discourse.group/t/module-for-sending-receiving-pcm-data-from-plaintransport/6941)

<div class="topic-metadata">

**Author:** [@jbaudanza](https://mediasoup.discourse.group/u/jbaudanza)\
**Replies:** 3\
**Last updated:** [February 15, 2026, 10:16am UTC](https://mediasoup.discourse.group/t/module-for-sending-receiving-pcm-data-from-plaintransport/6941 "2026-02-15T10:16:07Z")

</div>

This is a simple node module for connecting to a PlainTransport and encoding/decoding Opus packets to/from PCM. It’s particularly helpful if you’re integrating with an AI model like a chatbot or transcription model, bu…

---

## [React Native equivalent of HTMLVideoElement.captureStream() for streaming local video files to mediasoup?](https://mediasoup.discourse.group/t/react-native-equivalent-of-htmlvideoelement-capturestream-for-streaming-local-video-files-to-mediasoup/6937)

<div class="topic-metadata">

**Author:** [@KunalAnkur](https://mediasoup.discourse.group/u/KunalAnkur)\
**Replies:** 2\
**Last updated:** [February 1, 2026, 8:59pm UTC](https://mediasoup.discourse.group/t/react-native-equivalent-of-htmlvideoelement-capturestream-for-streaming-local-video-files-to-mediasoup/6937 "2026-02-01T20:59:59Z")

</div>

Hi all, On the web, I stream a local video file to mediasoup by playing it in a \<video\> tag and using video.captureStream() to get a MediaStreamTrack. I’m trying to do the same in React Native, but RN has no DOM, no \<v…

---

## [How to solve the problem of file saving failure when using creatPlainTransport to stream to ffmpeg.Thanks](https://mediasoup.discourse.group/t/how-to-solve-the-problem-of-file-saving-failure-when-using-creatplaintransport-to-stream-to-ffmpeg-thanks/6924)

<div class="topic-metadata">

**Author:** [@qingxin1212](https://mediasoup.discourse.group/u/qingxin1212)\
**Replies:** 0\
**Last updated:** [November 28, 2025, 8:00am UTC](https://mediasoup.discourse.group/t/how-to-solve-the-problem-of-file-saving-failure-when-using-creatplaintransport-to-stream-to-ffmpeg-thanks/6924 "2025-11-28T08:00:24Z")

</div>

The following is my recording code and the packet capture data on port 5004 that I listened to, but the recording failed. I have been searching for the reason for a long time but cannot find where the problem lies. I hop…

---

## [creatPlainTransport or createPlainRtpTransport](https://mediasoup.discourse.group/t/creatplaintransport-or-createplainrtptransport/6923)

<div class="topic-metadata">

**Author:** [@qingxin1212](https://mediasoup.discourse.group/u/qingxin1212)\
**Replies:** 2\
**Last updated:** [November 28, 2025, 7:12am UTC](https://mediasoup.discourse.group/t/creatplaintransport-or-createplainrtptransport/6923 "2025-11-28T07:12:54Z")

</div>

I am confused about the main differences in the usage scenarios of the router.creatPlainRtpTransport and router.router.creatPlainTransport functions. Can you help me clarify this? However, my purpose is to output a data …

---

## [PlainTransport Producer not receiving RTP packets - SSRC mismatch](https://mediasoup.discourse.group/t/plaintransport-producer-not-receiving-rtp-packets-ssrc-mismatch/6914)

<div class="topic-metadata">

**Author:** [@Mikel](https://mediasoup.discourse.group/u/Mikel)\
**Replies:** 13\
**Last updated:** [November 24, 2025, 11:00am UTC](https://mediasoup.discourse.group/t/plaintransport-producer-not-receiving-rtp-packets-ssrc-mismatch/6914 "2025-11-24T11:00:44Z")

</div>

Hi, I’m experiencing an issue with PlainTransport where incoming RTP packets are being rejected with “no suitable Producer for received RTP packet” warnings, despite setting the same ssrc. Setup I have a video routing a…

---

## [Using mediasoup with Unity — Is it officially supported?](https://mediasoup.discourse.group/t/using-mediasoup-with-unity-is-it-officially-supported/6911)

<div class="topic-metadata">

**Author:** [@ybkim](https://mediasoup.discourse.group/u/ybkim)\
**Replies:** 4\
**Last updated:** [November 17, 2025, 1:46am UTC](https://mediasoup.discourse.group/t/using-mediasoup-with-unity-is-it-officially-supported/6911 "2025-11-17T01:46:07Z")

</div>

Hello, I would like to use mediasoup in a Unity project. Is there any official support or SDK for Unity integration? Or do I need to build a custom library to use mediasoup with Unity? Thank you!

---

## [WhatsApp Business Calling - WebRTC to Mediasoup](https://mediasoup.discourse.group/t/whatsapp-business-calling-webrtc-to-mediasoup/6779)

<div class="topic-metadata">

**Author:** [@ankit-programmer](https://mediasoup.discourse.group/u/ankit-programmer)\
**Replies:** 4\
**Last updated:** [November 3, 2025, 5:56am UTC](https://mediasoup.discourse.group/t/whatsapp-business-calling-webrtc-to-mediasoup/6779 "2025-11-03T05:56:24Z")

</div>

Meta has launched a new calling service for businesses, where an SDP offer is sent to the business whenever a user initiates a call from WhatsApp. We currently use a WebRTC calling infrastructure based on mediasoup, but…

---

## [Need help regarding setting up turn server with mediasoup server](https://mediasoup.discourse.group/t/need-help-regarding-setting-up-turn-server-with-mediasoup-server/5014)

<div class="topic-metadata">

**Author:** [@RagedPanda](https://mediasoup.discourse.group/u/RagedPanda)\
**Replies:** 9\
**Last updated:** [September 11, 2025, 9:31am UTC](https://mediasoup.discourse.group/t/need-help-regarding-setting-up-turn-server-with-mediasoup-server/5014 "2025-09-11T09:31:54Z")

</div>

Hi Team, First of all, thank you for the Mediasoup, It’s amazing. I just need some help related to turn setup. I read IBC’s comment is one of the turn/stun setup post. As per IBC : mediasoup (server) does not need a…

---

## [MCU Gateway Integration with Edumeet/mediasoup: Bridging Traditional Video Conferencing and WebRTC](https://mediasoup.discourse.group/t/mcu-gateway-integration-with-edumeet-mediasoup-bridging-traditional-video-conferencing-and-webrtc/6814)

<div class="topic-metadata">

**Author:** [@bianxg](https://mediasoup.discourse.group/u/bianxg)\
**Replies:** 0\
**Last updated:** [August 12, 2025, 6:51am UTC](https://mediasoup.discourse.group/t/mcu-gateway-integration-with-edumeet-mediasoup-bridging-traditional-video-conferencing-and-webrtc/6814 "2025-08-12T06:51:23Z")

</div>

share our recent development that bridges traditional MCU-based video conferencing systems with modern WebRTC-based solutions using Edumeet/mediasoup. This integration enables seamless communication between legacy vide…

---

## [PlainTransport + Consumer not sending any VP8 RTP packets to external process](https://mediasoup.discourse.group/t/plaintransport-consumer-not-sending-any-vp8-rtp-packets-to-external-process/6756)

<div class="topic-metadata">

**Author:** [@j4gd33p](https://mediasoup.discourse.group/u/j4gd33p)\
**Replies:** 4\
**Last updated:** [August 4, 2025, 10:11am UTC](https://mediasoup.discourse.group/t/plaintransport-consumer-not-sending-any-vp8-rtp-packets-to-external-process/6756 "2025-08-04T10:11:01Z")

</div>

I have a Mediasoup 3.12 backend that should mirror a VP8 video Producer into a PlainTransport and then pipe that RTP into FFmpeg (or any external tool) to grab a single JPEG frame. But no matter what I try, FFmpeg never …

---

## [Flutter Media Soup Support](https://mediasoup.discourse.group/t/flutter-media-soup-support/6099)

<div class="topic-metadata">

**Author:** [@sabirklm](https://mediasoup.discourse.group/u/sabirklm)\
**Replies:** 8\
**Last updated:** [July 31, 2025, 9:38am UTC](https://mediasoup.discourse.group/t/flutter-media-soup-support/6099 "2025-07-31T09:38:42Z")

</div>

I am recently trying to develop a audio video calling app using flutter and node js library they are able to consume and produce audio and video but in my flutter side I am only able to display the local stream with RTCV…

---

## [ffmpeg\_receiver.sh - audio ok, no vid packets](https://mediasoup.discourse.group/t/ffmpeg-receiver-sh-audio-ok-no-vid-packets/6769)

<div class="topic-metadata">

**Author:** [@marklaz](https://mediasoup.discourse.group/u/marklaz)\
**Replies:** 1\
**Last updated:** [July 12, 2025, 10:47am UTC](https://mediasoup.discourse.group/t/ffmpeg-receiver-sh-audio-ok-no-vid-packets/6769 "2025-07-12T10:47:34Z")

</div>

I’m testing broadcasters/ffmpeg\_receiver.sh. I have a producer in a room with a video producer id and an audio producer id. i call it like so: SERVER\_URL=https://localhost:4443 ROOM\_ID=a AUDIO\_PRODUCER\_ID=“fde0351f-00b…

---

## [PlainTransport Consumer not receive any data from PlainTransport Producer](https://mediasoup.discourse.group/t/plaintransport-consumer-not-receive-any-data-from-plaintransport-producer/6766)

<div class="topic-metadata">

**Author:** [@jasonko7](https://mediasoup.discourse.group/u/jasonko7)\
**Replies:** 0\
**Last updated:** [July 11, 2025, 9:41am UTC](https://mediasoup.discourse.group/t/plaintransport-consumer-not-receive-any-data-from-plaintransport-producer/6766 "2025-07-11T09:41:56Z")

</div>

I implement a simple demo to test PlainTransport’s Consumer and Producer. 2 PlainTransport is created on the same router. The first PlainTransport’s Producer is used to receive rtp packets which is generated by FFMPEG w…

---

## [Unity integration for the client](https://mediasoup.discourse.group/t/unity-integration-for-the-client/4581)

<div class="topic-metadata">

**Author:** [@beka](https://mediasoup.discourse.group/u/beka)\
**Replies:** 11\
**Last updated:** [July 7, 2025, 5:29am UTC](https://mediasoup.discourse.group/t/unity-integration-for-the-client/4581 "2025-07-07T05:29:35Z")

</div>

Hello, We would like to use GitHub - versatica/libmediasoupclient: mediasoup client side C++ library inside an unity app. Is the right way to proceed? Is it supposed to work against a medisoup node server. Anyone else w…

---

## [Mediasoup in Unity C#](https://mediasoup.discourse.group/t/mediasoup-in-unity-c/6526)

<div class="topic-metadata">

**Author:** [@Mohamed11302](https://mediasoup.discourse.group/u/Mohamed11302)\
**Replies:** 1\
**Last updated:** [July 4, 2025, 7:37pm UTC](https://mediasoup.discourse.group/t/mediasoup-in-unity-c/6526 "2025-07-04T19:37:17Z")

</div>

Hi everyone, I’m working on integrating a Mediasoup client in Unity and came across this repository: unity\_mediasoupclientsdk, which seems well-structured and even includes an example client for building your own. I al…

---

## [Issue with ffmpeg and mediasoup](https://mediasoup.discourse.group/t/issue-with-ffmpeg-and-mediasoup/6697)

<div class="topic-metadata">

**Author:** [@sree](https://mediasoup.discourse.group/u/sree)\
**Replies:** 0\
**Last updated:** [May 27, 2025, 1:48pm UTC](https://mediasoup.discourse.group/t/issue-with-ffmpeg-and-mediasoup/6697 "2025-05-27T13:48:14Z")

</div>

I have a strange scenario I’d like to discuss. I’m a newbie with Mediasoup and FFmpeg. Here’s the functionality I’m trying to implement: I’m using ZoneMinder, which can stream video. I take the video and tile it (comb…

---

## [PlainTrasnsport and Gstreamer microphone streaming](https://mediasoup.discourse.group/t/plaintrasnsport-and-gstreamer-microphone-streaming/6180)

<div class="topic-metadata">

**Author:** [@hassan](https://mediasoup.discourse.group/u/hassan)\
**Replies:** 11\
**Last updated:** [May 15, 2025, 8:48am UTC](https://mediasoup.discourse.group/t/plaintrasnsport-and-gstreamer-microphone-streaming/6180 "2025-05-15T08:48:57Z")

</div>

hi guys I have tried for two month to get microphone stream rtp and send to gstreamer command line but I couldn’t solved my problem. I would be very grateful if you could help me. :broken\_heart: :broken\_heart: …

---

## [Mediasoup to gStreamer to Decklink](https://mediasoup.discourse.group/t/mediasoup-to-gstreamer-to-decklink/6659)

<div class="topic-metadata">

**Author:** [@MoodyJerup](https://mediasoup.discourse.group/u/MoodyJerup)\
**Replies:** 0\
**Last updated:** [May 1, 2025, 3:20pm UTC](https://mediasoup.discourse.group/t/mediasoup-to-gstreamer-to-decklink/6659 "2025-05-01T15:20:01Z")

</div>

Hi Everybody I have for days tried to route RTP to my decklinkcard - with no luck. H264 UDP from mediasoup is working - I think. I can open a window in gstreamer with the stream with the code below. gst-launch-1.0 -v …

---

## [I'm looking to hire an experienced developer familiar with \*\*Mediasoup](https://mediasoup.discourse.group/t/im-looking-to-hire-an-experienced-developer-familiar-with-mediasoup/6597)

<div class="topic-metadata">

**Author:** [@drawoh](https://mediasoup.discourse.group/u/drawoh)\
**Replies:** 1\
**Last updated:** [April 14, 2025, 2:08pm UTC](https://mediasoup.discourse.group/t/im-looking-to-hire-an-experienced-developer-familiar-with-mediasoup/6597 "2025-04-14T14:08:15Z")

</div>

I’m looking to hire an experienced developer familiar with Mediasoup to help modify a live two-way video script to work with V3 or a modified V3 install to work with the script. The script, which I purchased a few years …

---

## [RTP In Through FFmpeg Works On Localhost But Not In Production](https://mediasoup.discourse.group/t/rtp-in-through-ffmpeg-works-on-localhost-but-not-in-production/5891)

<div class="topic-metadata">

**Author:** [@HGB467](https://mediasoup.discourse.group/u/HGB467)\
**Replies:** 2\
**Last updated:** [March 31, 2025, 5:18am UTC](https://mediasoup.discourse.group/t/rtp-in-through-ffmpeg-works-on-localhost-but-not-in-production/5891 "2025-03-31T05:18:20Z")

</div>

Hi, I am trying to re-encode an rtsp stream through ffmpeg and then sending it to mediasoup by utilizing plain transport. It works perfectly fine on localhost but in production, the remote track is always muted. Here is…

---

## [Mediasoup/Coturn configuration](https://mediasoup.discourse.group/t/mediasoup-coturn-configuration/6579)

<div class="topic-metadata">

**Author:** [@WerdoxDev](https://mediasoup.discourse.group/u/WerdoxDev)\
**Replies:** 2\
**Last updated:** [March 26, 2025, 5:51am UTC](https://mediasoup.discourse.group/t/mediasoup-coturn-configuration/6579 "2025-03-26T05:51:42Z")

</div>

I have seen many topics here about integrating mediasoup with a TURN server like Coturn but couln’t find an actual solution. I just want to use a couple ports for media instead of a big range which my router does not su…

---

## [Consumed Video is not playing on client](https://mediasoup.discourse.group/t/consumed-video-is-not-playing-on-client/6416)

<div class="topic-metadata">

**Author:** [@Naveenravi07](https://mediasoup.discourse.group/u/Naveenravi07)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 8:47am UTC](https://mediasoup.discourse.group/t/consumed-video-is-not-playing-on-client/6416 "2025-03-11T08:47:02Z")

</div>

Hey first of all thank you for this amazing tool. I am building a video conferencing web app using MediaSoup on my own computer (using the computer’s IP address). I successfully created both a producer and consumer. The…

---

## [PlainTransport, ffmpeg, recording](https://mediasoup.discourse.group/t/plaintransport-ffmpeg-recording/6512)

<div class="topic-metadata">

**Author:** [@MNormatov](https://mediasoup.discourse.group/u/MNormatov)\
**Replies:** 14\
**Last updated:** [March 4, 2025, 1:03pm UTC](https://mediasoup.discourse.group/t/plaintransport-ffmpeg-recording/6512 "2025-03-04T13:03:08Z")

</div>

Hello! I’m trying to record a video, and I do this: const worker = await mediasoup.createWorker(...); const router = await worker.createRouter(...); const webrtcTransport = ...; const produce…

---

## [How to let libmediasoupclient client sdk accept encoded video stream as input?](https://mediasoup.discourse.group/t/how-to-let-libmediasoupclient-client-sdk-accept-encoded-video-stream-as-input/3160)

<div class="topic-metadata">

**Author:** [@chenzx](https://mediasoup.discourse.group/u/chenzx)\
**Replies:** 9\
**Last updated:** [February 25, 2025, 7:05am UTC](https://mediasoup.discourse.group/t/how-to-let-libmediasoupclient-client-sdk-accept-encoded-video-stream-as-input/3160 "2025-02-25T07:05:04Z")

</div>

I need to implement a webrtc RTP sender client with decoupled 2 parts: One is the H264 encoded stream source, which produce series of I- & P-frames (logically); The other accepts the encoded video stream as input, and …

---

## [How can I replace the audio in a one to many audio application?](https://mediasoup.discourse.group/t/how-can-i-replace-the-audio-in-a-one-to-many-audio-application/6496)

<div class="topic-metadata">

**Author:** [@Anith](https://mediasoup.discourse.group/u/Anith)\
**Replies:** 1\
**Last updated:** [February 19, 2025, 11:37am UTC](https://mediasoup.discourse.group/t/how-can-i-replace-the-audio-in-a-one-to-many-audio-application/6496 "2025-02-19T11:37:10Z")

</div>

We are building a one to many realtime audio translation application that uses mediasoup. That is, if all the users can select a language and if the langauge is different from the speaker, everything the speaker speaks i…

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