Questions tagged [mediasoup]

64 questions
0
votes
0 answers

Undefined room_limit in JavaScript WebRTC application using socket.io and mediasoup - How to properly set and access room limit?

I'm trying to create a room limit for my application, and I want it to show up on the room list, but it says "Available Rooms." I tried the code below, and I thought that it would work. The room limit is supposed to be defined as how many users the…
0
votes
0 answers

TypeError: mediasoup.Server is not a function

I am interested in using this example to create mediasoup based video conferencing app. https://gitee.com/hqqshe/mediasoup-broadcast-example but when I execute that example, shows me this error message: TypeError: mediasoup.Server is not a…
0
votes
1 answer

MediaSoup Client: does I need to close transport and create new one when switching network connection

When user network connection problem occur (lost socket connection and reconnect) then I close current transport and all producer, consumer. Then re-create again. public async loadTransport(skipConsume: boolean = false): Promise { …
0
votes
0 answers

react-native-webrtc handling different camera sizes

I am using react-native-webrtc-web-shim along with mediasoup for web rtc. Although I have a problem with getting correct sizes and aspect ratio. My problem is reproduceable when you try to use a react native ios camera with vertical camera mode and…
Jonathan Coletti
  • 448
  • 4
  • 13
0
votes
1 answer

stuck at install edumeet media node on docker

I clone edumeet-media-node project (https://github.com/edumeet/edumeet-media-node) to my ubuntu. I check port 3000, 40000-40249 are available and I allow: port 3000,40000-40249 on ufw. Next, I run 2 commands: docker build . -t…
khoi vu
  • 105
  • 1
  • 6
0
votes
0 answers

'Failed to build libmediasoup-worker' in rust after using "cargo build" (using mediasoup-sys-0.3.1)

So i was trying to run cargo build and it didn't seem well since it failed to build some stuff Here's the error i got (tried anything i could do): abseil-cpp| Compiler for C++ supports arguments -msse4.1: YES (cached) abseil-cpp| Checking if…
MyStuffYT
  • 1
  • 2
0
votes
0 answers

I have to import mediasoup to sdk and into the project

I have MySDK framework that contains mediasop. When i import SDK to my project, i have to duplicate mediasoup too. If i don't duplicate, there is an error: No such module ‘WebRTC’. I'm using mediasoup 1.5.3 version from there:…
0
votes
0 answers

Module parse failed error when mediasoup is imported in React Js app

I'm doing a videocall app using mediasoup, when i import mediasoup-client ( import { Device } from 'mediasoup-client'; ) this error appears: Module parse failed You may need an appropriate loader to handle this file type. SyntaxError: Unexpected…
0
votes
1 answer

Mediasoup Logic - Confusing Flow

I'm a bit stuck with the media-soup logic. Following https://jasonkang14.github.io/posts/webrtc/webrtc-Mediasoup-flow-explained and the examples. Specially Step 5 "Consume" It's not clear if we are supposed to create a new consumer for every new…
Oliver Dixon
  • 7,012
  • 5
  • 61
  • 95
0
votes
1 answer

Need A SFU that does not decrypt or change data in the rtp and rtcp

I am building an application with gstreamer-webrtc in which timestramp in RTCP and RTP is curcial . while using a mediaserver SFU (mediasoup) the media server consumes and consumes/terminates and produces its own RTCP…
Usama
  • 159
  • 1
  • 13
0
votes
1 answer

Mediasoup client on react native crashes when transport.on('connect' calls callback()

Am using mediasoup for video conferencing, but on the connection stages, where transport.produce() invokes transport.on('connect' event when i execute callback from transport.on('connect the application crashes producerTransport.on( 'connect', …
ndotie
  • 1,830
  • 17
  • 18
0
votes
1 answer

Mediasoup: Connection state changed to disconnected a few tens of seconds after connected

We use mediasoup to create our products. However, I am having problems with the transport connection. The client transport connection state goes disconnected a few eights seconds after connection. The following log will be output in the chrome…
0
votes
0 answers

ffmpeg inject video to mediasoup only can play first frame

I’m trying to inject a video into mediasoup by following this demo https://github.com/versatica/mediasoup-demo/blob/v3/broadcasters/ffmpeg.sh Command : ffmpeg -re -v info -stream_loop -1 -i video-audio-stereo.mp4 -map 0:a:0 -acodec libopus -ab 128k…
boygiandi
  • 630
  • 10
  • 20
0
votes
1 answer

Mediasoup requires SSL even in localhost?

I'm developing a project using mediasoup, in all examples server is running under ssl, even in localhost is this required? I guess certificate is for remote peers can use media resourses, but browsers allow consume media resourses in…
Aloiso Gomes
  • 640
  • 6
  • 12
0
votes
1 answer

Mediasoup Bitrate limit issue with react-native

I’ve been trying to set a limit for the bitrate produced from mediasoup device, but it didn’t work. I did use multiple approaches, still didn’t get any result. Using the webrtc-internal observers on google chrome, I noticed that the bitrates…