# mediasoup libraries

**URL:** https://mediasoup.discourse.group/c/mediasoup-libraries/12.md?page=4

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

**Page:** 5

---

## [restartIce](https://mediasoup.discourse.group/t/restartice/6270)

<div class="topic-metadata">

**Author:** [@miroslavpejic85](https://mediasoup.discourse.group/u/miroslavpejic85)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 7:39am UTC](https://mediasoup.discourse.group/t/restartice/6270 "2024-09-25T07:39:31Z")

</div>

From what we understand, when using restartIce for a transport, both the producer and consumer transports may require ICE restarts, depending on the scenario: ICE Restart for Producer Transport: If there is a network ch…

---

## [connection failed in producer transport.ICE connection state transitions from checking to disconnected](https://mediasoup.discourse.group/t/connection-failed-in-producer-transport-ice-connection-state-transitions-from-checking-to-disconnected/6267)

<div class="topic-metadata">

**Author:** [@pratikgiri10](https://mediasoup.discourse.group/u/pratikgiri10)\
**Replies:** 0\
**Last updated:** [September 20, 2024, 2:50am UTC](https://mediasoup.discourse.group/t/connection-failed-in-producer-transport-ice-connection-state-transitions-from-checking-to-disconnected/6267 "2024-09-20T02:50:42Z")

</div>

I am new to mediasoup and i am trying to build video conferencing system. The issue i am having is connection state changes from connecting to failed and ice connection state transitions from checking to disconnected. I…

---

## [Mediasoup has a potential issue using simulcast under constrained connections](https://mediasoup.discourse.group/t/mediasoup-has-a-potential-issue-using-simulcast-under-constrained-connections/6265)

<div class="topic-metadata">

**Author:** [@realtime](https://mediasoup.discourse.group/u/realtime)\
**Replies:** 0\
**Last updated:** [September 19, 2024, 6:42pm UTC](https://mediasoup.discourse.group/t/mediasoup-has-a-potential-issue-using-simulcast-under-constrained-connections/6265 "2024-09-19T18:42:50Z")

</div>

I’ve been investigating a bug where mediasoup seems to continuously change layers when consuming a video under a downlink limitation. You can reproduce this using the mediasoup demo, and having one client limit the downl…

---

## [Using the latest mediasoup 3.14.8 we're seeing constant freezes with simulcast.](https://mediasoup.discourse.group/t/using-the-latest-mediasoup-3-14-8-were-seeing-constant-freezes-with-simulcast/6149)

<div class="topic-metadata">

**Author:** [@realtime](https://mediasoup.discourse.group/u/realtime)\
**Replies:** 1\
**Last updated:** [September 19, 2024, 8:15pm UTC](https://mediasoup.discourse.group/t/using-the-latest-mediasoup-3-14-8-were-seeing-constant-freezes-with-simulcast/6149 "2024-09-19T20:15:16Z")

</div>

It seems to happen less frequently on 3.11.8 which we upgraded from. But it still seems to occur. Some users can receive video fine, while others will be freeze-frame, for a while, and sometimes recover, sometimes they …

---

## [MediaStreamTrack doesn’t play video on HTMLVideoElement](https://mediasoup.discourse.group/t/mediastreamtrack-doesn-t-play-video-on-htmlvideoelement/6259)

<div class="topic-metadata">

**Author:** [@hassan888](https://mediasoup.discourse.group/u/hassan888)\
**Replies:** 0\
**Last updated:** [September 15, 2024, 10:43am UTC](https://mediasoup.discourse.group/t/mediastreamtrack-doesn-t-play-video-on-htmlvideoelement/6259 "2024-09-15T10:43:01Z")

</div>

i am consuming from following code on front end nextjs const consume = async (producerId: string) =\> { console.log('producerId', producerId); // console.log('device rtpCapabilities', device.rtpCapabilities); …

---

## [error: failed to run custom build command for \`mediasoup-sys v0.9.1\`](https://mediasoup.discourse.group/t/error-failed-to-run-custom-build-command-for-mediasoup-sys-v0-9-1/6257)

<div class="topic-metadata">

**Author:** [@phrank](https://mediasoup.discourse.group/u/phrank)\
**Replies:** 0\
**Last updated:** [September 14, 2024, 2:46am UTC](https://mediasoup.discourse.group/t/error-failed-to-run-custom-build-command-for-mediasoup-sys-v0-9-1/6257 "2024-09-14T02:46:14Z")

</div>

Hi, I am getting this error when I try to build the videoroom example, I have everything installed: c++,gcc,python, pip. Here’s the cause: Caused by: process didn't exit successfully: \`C:\\Users\\chinfon\\Desktop\\videor…

---

## [Cross compiling libmediasoupclient & mediasoup-broadcaster-demo on RPi (arm64)](https://mediasoup.discourse.group/t/cross-compiling-libmediasoupclient-mediasoup-broadcaster-demo-on-rpi-arm64/6085)

<div class="topic-metadata">

**Author:** [@skp](https://mediasoup.discourse.group/u/skp)\
**Replies:** 7\
**Last updated:** [June 7, 2024, 3:19pm UTC](https://mediasoup.discourse.group/t/cross-compiling-libmediasoupclient-mediasoup-broadcaster-demo-on-rpi-arm64/6085 "2024-06-07T15:19:52Z")

</div>

Hi, I have successfully built libwebrtc, libmediasoupclient and mediasoup-broadcaster-demo on a linux device and it works as it is supposed to be. Now I am planning to build a RPi 4 based c++ client using libmediaosupc…

---

## [Get transport track data](https://mediasoup.discourse.group/t/get-transport-track-data/6252)

<div class="topic-metadata">

**Author:** [@YogiPristiawan](https://mediasoup.discourse.group/u/YogiPristiawan)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 3:24pm UTC](https://mediasoup.discourse.group/t/get-transport-track-data/6252 "2024-09-10T15:24:20Z")

</div>

I want to implement image capture on the server side, but we need to track data from the transport. Can we access that track on the server side?

---

## [on connect for rec transport is not trigger?](https://mediasoup.discourse.group/t/on-connect-for-rec-transport-is-not-trigger/6248)

<div class="topic-metadata">

**Author:** [@hassan888](https://mediasoup.discourse.group/u/hassan888)\
**Replies:** 0\
**Last updated:** [September 9, 2024, 7:33pm UTC](https://mediasoup.discourse.group/t/on-connect-for-rec-transport-is-not-trigger/6248 "2024-09-09T19:33:32Z")

</div>

My front code is this in nextjs const createRecvTransport = async () =\> { socket.emit('createWebRtcTransport', { consumer: true }, async (params: WebRtcTransportParams) =\> { recvTransport = await device.createRecv…

---

## [Mediasoup typescript types not exported](https://mediasoup.discourse.group/t/mediasoup-typescript-types-not-exported/6236)

<div class="topic-metadata">

**Author:** [@agoenks29D](https://mediasoup.discourse.group/u/agoenks29D)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 4:57pm UTC](https://mediasoup.discourse.group/t/mediasoup-typescript-types-not-exported/6236 "2024-09-06T16:57:22Z")

</div>

After the release of version 3.14.12, the types were not resolved, but in version 3.14.11 working fine for the types

---

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

<div class="topic-metadata">

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

</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…

---

## [Client-side controlled simulcast](https://mediasoup.discourse.group/t/client-side-controlled-simulcast/6126)

<div class="topic-metadata">

**Author:** [@ea167](https://mediasoup.discourse.group/u/ea167)\
**Replies:** 1\
**Last updated:** [August 29, 2024, 11:03am UTC](https://mediasoup.discourse.group/t/client-side-controlled-simulcast/6126 "2024-08-29T11:03:18Z")

</div>

Hello, We tried several times to deploy H264 simulcast in a real world scenario with a few hundred viewers, as instructed (rtcp feedback, transport-cc, etc.). Every time the results were disappointing due to inaccurate …

---

## [Using datachannels with libmediasoupclient](https://mediasoup.discourse.group/t/using-datachannels-with-libmediasoupclient/6215)

<div class="topic-metadata">

**Author:** [@skp](https://mediasoup.discourse.group/u/skp)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 1:04pm UTC](https://mediasoup.discourse.group/t/using-datachannels-with-libmediasoupclient/6215 "2024-08-22T13:04:51Z")

</div>

Hi, While working with libmediasoupclient, I am facing a puzzling issue. Here it is. My libmediasoupclient application is creating a dataconsumer on the server side using the dataproducer id of the bot dataproducer. Th…

---

## [Can anyone help me to understand the socket om events like consumer close transport close.](https://mediasoup.discourse.group/t/can-anyone-help-me-to-understand-the-socket-om-events-like-consumer-close-transport-close/6214)

<div class="topic-metadata">

**Author:** [@Anuragshaw2409](https://mediasoup.discourse.group/u/Anuragshaw2409)\
**Replies:** 0\
**Last updated:** [August 17, 2024, 2:26pm UTC](https://mediasoup.discourse.group/t/can-anyone-help-me-to-understand-the-socket-om-events-like-consumer-close-transport-close/6214 "2024-08-17T14:26:38Z")

</div>

I am using react to build the frontend. I have achieved most of the things like joning rooms and sending screen, video and audio. the first issu that i face is to get the producer after calling produce on a transport. a…

---

## [How can I assign a specific CPU core to a mediasoup worker?](https://mediasoup.discourse.group/t/how-can-i-assign-a-specific-cpu-core-to-a-mediasoup-worker/6207)

<div class="topic-metadata">

**Author:** [@Fabioni](https://mediasoup.discourse.group/u/Fabioni)\
**Replies:** 4\
**Last updated:** [August 15, 2024, 11:42am UTC](https://mediasoup.discourse.group/t/how-can-i-assign-a-specific-cpu-core-to-a-mediasoup-worker/6207 "2024-08-15T11:42:44Z")

</div>

Hey, I am running mediasoup on a server where some cpu core are already highly used by other services and I want to avoid interfering with them. Is there a way to assign workers to specific cpu cores? Thanks! P.S. ma…

---

## [Does mediasoup support HEVC/H.265?](https://mediasoup.discourse.group/t/does-mediasoup-support-hevc-h-265/2646)

<div class="topic-metadata">

**Author:** [@qjmiao](https://mediasoup.discourse.group/u/qjmiao)\
**Replies:** 5\
**Last updated:** [August 13, 2024, 5:17pm UTC](https://mediasoup.discourse.group/t/does-mediasoup-support-hevc-h-265/2646 "2024-08-13T17:17:10Z")

</div>

I want to use mediasoup as a SFU through plain rtp transports for H.265 video meetings. Does mediasoup support HEVC/H.265?

---

## [worker is not creating](https://mediasoup.discourse.group/t/worker-is-not-creating/6176)

<div class="topic-metadata">

**Author:** [@Akhilesh\_Bhadula](https://mediasoup.discourse.group/u/Akhilesh_Bhadula)\
**Replies:** 10\
**Last updated:** [August 13, 2024, 5:21am UTC](https://mediasoup.discourse.group/t/worker-is-not-creating/6176 "2024-08-13T05:21:33Z")

</div>

import express from ‘express’ const app = express() import https from ‘httpolyglot’ import fs from ‘fs’ import path from ‘path’ const \_\_dirname = path.resolve() import { Server } from ‘socket.io’ import mediasoup …

---

## [Can a single producerTransport handle both video and audio ? Same question for consumerTransport.](https://mediasoup.discourse.group/t/can-a-single-producertransport-handle-both-video-and-audio-same-question-for-consumertransport/6200)

<div class="topic-metadata">

**Author:** [@saket486](https://mediasoup.discourse.group/u/saket486)\
**Replies:** 1\
**Last updated:** [August 11, 2024, 6:21pm UTC](https://mediasoup.discourse.group/t/can-a-single-producertransport-handle-both-video-and-audio-same-question-for-consumertransport/6200 "2024-08-11T18:21:27Z")

</div>

Lets say there are “n” people in a room. Now if I want to produce “video” as well as “audio” from a client which will be consumed by “n-1” other people in the room. So for the above scenario: 1.) Would I have to create…

---

## [Error Installing mediasoup on windows](https://mediasoup.discourse.group/t/error-installing-mediasoup-on-windows/4831)

<div class="topic-metadata">

**Author:** [@sandypp77](https://mediasoup.discourse.group/u/sandypp77)\
**Replies:** 20\
**Last updated:** [August 11, 2024, 10:56am UTC](https://mediasoup.discourse.group/t/error-installing-mediasoup-on-windows/4831 "2024-08-11T10:56:40Z")

</div>

npm ERR! code 1 npm ERR! path X:\\Projek\\Mediasoup\\node\_modules\\mediasoup npm ERR! command failed npm ERR! command C:\\WINDOWS\\system32\\cmd.exe /d /s /c node npm-scripts.js postinstall npm ERR! npm-scripts.js \[INFO\] ru…

---

## [Problems consuming RFC4733 telephone events](https://mediasoup.discourse.group/t/problems-consuming-rfc4733-telephone-events/6190)

<div class="topic-metadata">

**Author:** [@Jon](https://mediasoup.discourse.group/u/Jon)\
**Replies:** 2\
**Last updated:** [August 10, 2024, 2:31pm UTC](https://mediasoup.discourse.group/t/problems-consuming-rfc4733-telephone-events/6190 "2024-08-10T14:31:35Z")

</div>

I am using mediasoup 3.14.8 as an SFU with a custom browser webrtc client library. I am trying to figure out why DTMF signals sent from webrtc browser clients with the insertDTMF() method are not being broadcast to other…

---

## [Flutter mediasoupclient](https://mediasoup.discourse.group/t/flutter-mediasoupclient/6185)

<div class="topic-metadata">

**Author:** [@Manhal1994](https://mediasoup.discourse.group/u/Manhal1994)\
**Replies:** 0\
**Last updated:** [August 7, 2024, 7:01am UTC](https://mediasoup.discourse.group/t/flutter-mediasoupclient/6185 "2024-08-07T07:01:17Z")

</div>

transport.on(‘produce’, (data){}); never called

---

## [Reuse consumer for a specific producer across client](https://mediasoup.discourse.group/t/reuse-consumer-for-a-specific-producer-across-client/6182)

<div class="topic-metadata">

**Author:** [@iamebuka](https://mediasoup.discourse.group/u/iamebuka)\
**Replies:** 2\
**Last updated:** [August 5, 2024, 11:17pm UTC](https://mediasoup.discourse.group/t/reuse-consumer-for-a-specific-producer-across-client/6182 "2024-08-05T23:17:51Z")

</div>

Hi I just started using mediasoup for a webrtc application and while I now understand the general approach, some things aren’t yet clear which brings me to this question. I would like to know if I can reuse the same co…

---

## [connectionstatechange from connecting --\> disconnecting --\> ailed](https://mediasoup.discourse.group/t/connectionstatechange-from-connecting-disconnecting-ailed/6179)

<div class="topic-metadata">

**Author:** [@datvuk](https://mediasoup.discourse.group/u/datvuk)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 4:51pm UTC](https://mediasoup.discourse.group/t/connectionstatechange-from-connecting-disconnecting-ailed/6179 "2024-08-02T16:51:56Z")

</div>

My project work on Nest.js and Next.js for building Video meeting. I’m using mediasoup and mediasoup-client, i’m following the docs but in the end i get connect failed. Also, my client-side can get consumes media from ot…

---

## [Muting a specific producer server side](https://mediasoup.discourse.group/t/muting-a-specific-producer-server-side/6163)

<div class="topic-metadata">

**Author:** [@danrossi](https://mediasoup.discourse.group/u/danrossi)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 12:41am UTC](https://mediasoup.discourse.group/t/muting-a-specific-producer-server-side/6163 "2024-07-26T00:41:54Z")

</div>

I was wondering if there is a method when obtaining a producer to mute their audio server side ? The feature is built in node. I’m investigating a solution to do that server side instead of disabling the audio track clie…

---

## [Sending a mixed audio stream on the same transport and record](https://mediasoup.discourse.group/t/sending-a-mixed-audio-stream-on-the-same-transport-and-record/6164)

<div class="topic-metadata">

**Author:** [@danrossi](https://mediasoup.discourse.group/u/danrossi)\
**Replies:** 5\
**Last updated:** [July 25, 2024, 11:24pm UTC](https://mediasoup.discourse.group/t/sending-a-mixed-audio-stream-on-the-same-transport-and-record/6164 "2024-07-25T23:24:36Z")

</div>

I have an audio router mixing solution that is currently sending opus packets via MediaRecorder and piping to ffmpeg. I’m entertaining the idea of sending the audio track to mediasoup and send that specific transport to…

---

## [Getting muted tracks for 3rd joiner, Works fine when we have only 2 users in a room](https://mediasoup.discourse.group/t/getting-muted-tracks-for-3rd-joiner-works-fine-when-we-have-only-2-users-in-a-room/6156)

<div class="topic-metadata">

**Author:** [@ubaish01](https://mediasoup.discourse.group/u/ubaish01)\
**Replies:** 3\
**Last updated:** [July 21, 2024, 9:37pm UTC](https://mediasoup.discourse.group/t/getting-muted-tracks-for-3rd-joiner-works-fine-when-we-have-only-2-users-in-a-room/6156 "2024-07-21T21:37:06Z")

</div>

I am trying to make a group video chat prototype , Everything seems fine when there is only 2 users in a room. As soon as 3rd person joins his stream got transfered to other 2 people in the room but he does not recieve …

---

## [Mediasoup in kubernetes k8s](https://mediasoup.discourse.group/t/mediasoup-in-kubernetes-k8s/6147)

<div class="topic-metadata">

**Author:** [@mik](https://mediasoup.discourse.group/u/mik)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 9:38am UTC](https://mediasoup.discourse.group/t/mediasoup-in-kubernetes-k8s/6147 "2024-07-17T09:38:42Z")

</div>

Happy to announce that I have successfully managed to deploy mediasoup on kubernetes, anyone interested in my solution, please contact me @ Email My solution is scalable vertically and horizontally.

---

## [External WebRTC Access](https://mediasoup.discourse.group/t/external-webrtc-access/6135)

<div class="topic-metadata">

**Author:** [@7jainam](https://mediasoup.discourse.group/u/7jainam)\
**Replies:** 2\
**Last updated:** [July 14, 2024, 10:17pm UTC](https://mediasoup.discourse.group/t/external-webrtc-access/6135 "2024-07-14T22:17:26Z")

</div>

Is there a way to get access to the WEBRTC stream externally? If so, how can that be achieved? Currently using mediasoup version 3.6.98

---

## [Stream video using ffmpeg without transcoding](https://mediasoup.discourse.group/t/stream-video-using-ffmpeg-without-transcoding/6132)

<div class="topic-metadata">

**Author:** [@DeepakChauhan](https://mediasoup.discourse.group/u/DeepakChauhan)\
**Replies:** 0\
**Last updated:** [July 9, 2024, 9:25am UTC](https://mediasoup.discourse.group/t/stream-video-using-ffmpeg-without-transcoding/6132 "2024-07-09T09:25:47Z")

</div>

Hi All, I have a stream of h264 data at producer end which I need to transmit to consumer using mediasoup. I have created router (at server end) and consumers (at both server and consumer end). I have also created plain…

---

## [Need to specify DataConsumer SCTP StreamId](https://mediasoup.discourse.group/t/need-to-specify-dataconsumer-sctp-streamid/6114)

<div class="topic-metadata">

**Author:** [@j1elo](https://mediasoup.discourse.group/u/j1elo)\
**Replies:** 6\
**Last updated:** [June 28, 2024, 12:13pm UTC](https://mediasoup.discourse.group/t/need-to-specify-dataconsumer-sctp-streamid/6114 "2024-06-28T12:13:06Z")

</div>

I’m trying to terminate a DataChannel SCTP stream in my server application, but finding that the DataConsumer chooses the wrong SCTP Stream ID regardless of what the application needs. This happens not in the mediasoup …

[Previous page](https://mediasoup.discourse.group/c/mediasoup-libraries/12.md?page=3)

[Next page](https://mediasoup.discourse.group/c/mediasoup-libraries/12.md?page=5)
