add mediamtx

This commit is contained in:
kevin 2024-04-20 12:58:39 +08:00
parent 6e3d25330f
commit 37e7d05506
3 changed files with 25 additions and 0 deletions

View File

@ -405,6 +405,7 @@ A collection of delicious docker recipes.
- [x] mitmproxy/mitmproxy
- [x] mariadb :bucket:
- [x] matomo
- [x] bluenviron/mediamtx
- [x] memgraph :bucket:
- [x] lab
- [x] memgraph

10
mediamtx/README.md Normal file
View File

@ -0,0 +1,10 @@
mediamtx
========
[MediaMTX][1] is a ready-to-use and zero-dependency real-time media server and
media proxy that allows to publish, read, proxy, record and playback video and
audio streams. It has been conceived as a "media router" that routes media
streams from one end to the other.
[1]: https://github.com/bluenviron/mediamtx

View File

@ -0,0 +1,14 @@
version: "3.8"
services:
mediamtx:
image: bluenviron/mediamtx:latest-rpi
volumes:
- /run/udev:/run/udev:ro
tmpfs:
- /dev/shm:exec
environment:
- MTX_PATHS_CAM_SOURCE=rpiCamera
- MTX_PATHS_CAM_RPICAMERAWIDTH=1920
- MTX_PATHS_CAM_RPICAMERAHEIGHT=1080
network_mode: host
privileged: true