MediaMtx mpv streaming support and QoL functions

This commit is contained in:
Ian Keane 2026-09-16 10:48:25 -04:00
parent 78a0d09fbf
commit fcfb6ffca0
3 changed files with 62 additions and 3 deletions

View file

@ -99,6 +99,20 @@ spec:
- port: 80
targetPort: 5000
---
# HLS Service — MediaMTX's HTTP HLS server, for browser playback and
# direct mpv/ffmpeg consumption of the raw .m3u8 playlist.
apiVersion: v1
kind: Service
metadata:
name: mediamtx-hls
namespace: mediamtx
spec:
selector:
app: mediamtx
ports:
- port: 8888
targetPort: 8888
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
@ -116,10 +130,38 @@ spec:
- host: stream.{{ .Values.domain }}
http:
paths:
- path: /
- path: /api
pathType: Prefix
backend:
service:
name: zoitestream
port:
number: 80
- path: /hooks
pathType: Prefix
backend:
service:
name: zoitestream
port:
number: 80
- path: /health
pathType: Exact
backend:
service:
name: zoitestream
port:
number: 80
- path: /
pathType: Exact
backend:
service:
name: zoitestream
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: mediamtx-hls
port:
number: 8888