Comments (2)
You can actually use just one router for multiple sessions. That's no issue.
The function does allow to distribute newly created routers over workers. It comes from the mediasoup-demo and is useful for expansion to multiple rooms for example.
In this case it isn't used that way as only one router is created. Just creating one router with a single worker would do the same thing.
from mediasoup3-record-demo.
Creating multiple workers is so it can be expanded easier.
However you are correct you may only need one worker, feel free to change the code to suit your requirements.
from mediasoup3-record-demo.
Related Issues (20)
- How can I just use FFmpeg command in terminal to record?
- How can I record in another computer instead of the computer which the medaisoup server is running? HOT 1
- Bash script with ffmpeg ? HOT 2
- recording a stream with the mediasoup demo ?
- Websocket connection failing HOT 7
- recorded file is of 0 bytes HOT 1
- Firefox not recording HOT 2
- when we disable video and enable back FFmpeg doesn't add the video track back. HOT 3
- Handle getUserMedia errors HOT 1
- Multiple codec support
- Docker support
- npm install error HOT 1
- Does it supports individual audio recording of room HOT 1
- Unhandle Promise Rejection: HOT 2
- work Compilation Error with c++ standard HOT 1
- Firefox does not allow to camera
- On record, video and sound does not match HOT 1
- FFmpeg error "dimensions not set" HOT 1
- ffmpeg child_process close unwanted
- refactor server with Typescript HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediasoup3-record-demo.