The goal of this project is to create a Docker-deployed service that will allow you to easily broadcast live video from IP cameras to web pages. This stream rebroadcaster is designed to be used by many sources/users. The service was developed as part of another free parking monitoring project
version: '3.7'
services:
multistreaming:
image: powernic/web-multistreaming:latest
ports:
- 80:80
restart: always
volumes:
- ./example-config.json:/app/config.json
environment:
- TYPE=file
- CONFIG=/app/config.json
- MESSENGER_TRANSPORT_DSN=redis://redis:6379/messages
redis:
image: redis:latest
restart: always
Available values:
file - load stream list from filerest - load stream list from REST APIremote_file - load stream list from remote filePath to config file. Required if TYPE is file.
Username for REST API. Required if TYPE is rest.
Password for REST API. Required if TYPE is rest.
Port for FFServer. Default: 80.
DSN for messenger transport. This is required for getting commands for updating config.
Create a file named config.json in the root of the project.
The file should contain a JSON object with the following structure:
[
{
"id": "stream1",
"url": "rtsp://..."
}
]
Here is an example of the JSON configuration file:
[
{
"id": "bunny",
"url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4"
},
{
"id": "bunny-test",
"url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4"
}
]
Where:
id - unique identifier of the streamurl - RTSP stream URLAfter starting the service, become available to you:
http://127.0.0.1/{id}-still.jpghttp://127.0.0.1/{id}-live.ogghttp://127.0.0.1/status.htmlGoals for future improvements to this project include:
Pull requests are welcome!
Issues can be filed on https://github.com/powernic/web-multistreaming/issues
Content type
Image
Digest
sha256:77f089f81…
Size
54.9 MB
Last updated
over 3 years ago
docker pull powernic/web-multistreaming