major refactoring + docker progress

This commit is contained in:
Micha Albert 2024-09-09 16:37:02 -04:00
parent ecb8a80f8b
commit e75f8c944a
No known key found for this signature in database
GPG key ID: 33149159A417BBCE
35 changed files with 227 additions and 104 deletions

5
mediamtx/Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM bluenviron/mediamtx
COPY . /
ENTRYPOINT ["/mediamtx"]

13
mediamtx/mediamtx.yml Normal file
View file

@ -0,0 +1,13 @@
playback: yes
playbackAddress: :9996
playbackTrustedProxies: [ '127.0.0.1' ]
api: yes
pathDefaults:
record: yes
# Path of recording segments.
# Extension is added automatically.
# Available variables are %path (path name), %Y %m %d %H %M %S %f %s (time in strftime format)
recordPath: /recordings/%path/%Y-%m-%d_%H-%M-%S-%f
recordDeleteAfter: 0s
webrtcICEServers2:
- url: stun:stun.l.google.com:19302