File tree 4 files changed +6
-3
lines changed
4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 64
64
- name : {{ $key }}
65
65
value : {{ $value | quote }}
66
66
{{- end }}
67
+ - name : SRS_M3U8_EXPIRE
68
+ value : {{ .Values.global.hlsFragment }}
67
69
volumes :
68
70
{{- with .Values.volumes }}
69
71
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ fullnameOverride: ""
17
17
# The configuration for nginx cach.
18
18
# must have SRS_M3U8_EXPIRE, SRS_TS_EXPIRE
19
19
conf :
20
- SRS_M3U8_EXPIRE : 10
21
20
SRS_TS_EXPIRE : 3600
22
21
23
22
serviceAccount :
Original file line number Diff line number Diff line change 73
73
- name : {{ $key }}
74
74
value : {{ $value | quote }}
75
75
{{- end }}
76
+ - name : SRS_VHOST_HLS_HLS_FRAGMENT
77
+ value : {{ .Values.global.hlsFragment }}
76
78
# Overwrite the config by env.
77
79
{{- range .Values.env }}
78
80
- name : {{ .name }}
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ replicaCount: 1
21
21
conf :
22
22
SRS_LOG_TANK : " console"
23
23
# below four confs used to force HLS high performance and HLS Low Latency
24
- SRS_VHOST_HLS_HLS_FRAGMENT : 2
25
24
SRS_VHOST_HLS_HLS_WINDOW : 16
26
25
SRS_VHOST_HLS_HLS_CTX : " off"
27
26
SRS_VHOST_HLS_HLS_TS_CTX : " off"
@@ -129,4 +128,5 @@ tolerations: []
129
128
affinity : {}
130
129
131
130
global :
132
- oryxHostName : oryx-host-name
131
+ oryxHostName : oryx-host-name
132
+ hlsFragment : 2
You can’t perform that action at this time.
0 commit comments