1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-10 22:31:28 +02:00

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

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