Skip to content

Commit

Permalink
Add separate options for Jibri recording and livestreaming services
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Tkatchouk <[email protected]>
  • Loading branch information
spijet committed Feb 9, 2023
1 parent c12a4fb commit 8dcbc28
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ Parameter | Description | Default
`jibri.enabled` | Enable Jibri service | `false`
`jibri.useExternalJibri` | Use external Jibri service, instead of chart-provided one | `false`
`jibri.singleUseMode` | Enable Jibri single-use mode | `false`
`jibri.recording` | Enable local recording service | `true`
`jibri.livestreaming` | Enable livestreaming service | `false`
`jibri.persistence.enabled` | Enable persistent storage for Jibri recordings | `false`
`jibri.persistence.size` | Jibri persistent storage size | `4Gi`
`jibri.persistence.existingClaim` | Use pre-created PVC for Jibri | `(unset)`
Expand Down
5 changes: 5 additions & 0 deletions templates/common-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ data:
ENABLE_XMPP_WEBSOCKET: 'false'
{{- end }}
{{- if .Values.jibri.enabled }}
{{- if .Values.jibri.recording }}
ENABLE_RECORDING: "true"
ENABLE_FILE_RECORDING_SERVICE_SHARING: "true"
{{- end }}
{{- if .Values.jibri.livestreaming }}
ENABLE_LIVESTREAMING: "true"
{{- end }}
{{- end }}
TZ: '{{ .Values.tz }}'
{{- range $key, $value := .Values.extraCommonEnvs }}
Expand Down
10 changes: 10 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,16 @@ jibri:
## You might also want to make LivenessProbe fail faster.
singleUseMode: false

## Enable recording service.
## Set this to true/false to enable/disable local recordings.
## Defaults to enabled (allow local recordings).
recording: true

## Enable livestreaming service.
## Set this to true/false to enable/disable live streams.
## Defaults to disabled (livestreaming is forbidden).
livestreaming: false

## Enable multiple Jibri instances.
## If enabled (i.e. set to 2 or more), each Jibri instance
## will get an ID assigned to it, based on pod name.
Expand Down

0 comments on commit 8dcbc28

Please sign in to comment.