[mirotalksfu] - add RTMP server and multi-source streaming!, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2024-06-29 18:49:10 +02:00
الأصل aaf5fe44ed
التزام 3929212631
52 ملفات معدلة مع 3986 إضافات و132 حذوفات

عرض الملف

@@ -0,0 +1,47 @@
# RTMP Streaming
![rtmpStreaming](../rtmpStreaming.jpeg)
For running an `RTMP` (Real-Time Messaging Protocol) server in Node, **[Node-Media-Server](https://github.com/illuspas/Node-Media-Server)** is one of the best options.
## Quick Start
```sh
# Create the config file for the server
$ cp config.template.js config.js
# Install the dependencies
$ npm install
# Start the RTMP Server
$ npm start
```
## Using Docker
```sh
# Create the config file for the server
$ cp config.template.js config.js
# Copy the docker.compose.yml
$ cp docker-compose.template.yml docker-compose.yml
# Pull the official mirotalk rtmp image
$ docker pull mirotalk/nms:latest
# Create and start containers
$ docker-compose up -d
# Check the logs
$ docker logs -f mirotalk-nms
# To stop and remove resources
$ docker-compose down
```
## Dashboard & API
[http://localhost:8081/admin](http://localhost:8081/admin)
[http://localhost:8081/api/server](http://localhost:8081/api/server)
## Custom Configuration
Modify the `config.js` to suit your specific needs.