MediaMtx mpv streaming support and QoL functions
This commit is contained in:
parent
78a0d09fbf
commit
fcfb6ffca0
3 changed files with 62 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue