Skip to content

Commit

Permalink
Re-add mistakenly removed call-status-checks settings
Browse files Browse the repository at this point in the history
Signed-off-by: Rhea Danzey <[email protected]>
  • Loading branch information
Arkaniad committed Nov 14, 2023
1 parent ba886da commit ca7635a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions jibri/rootfs/defaults/jibri.conf
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,31 @@ jibri {
port = {{ $STATSD_PORT }}
}
{{ end -}}

call-status-checks {
{{ if .Env.NO_MEDIA_TIMEOUT -}}
// If all clients have their audio and video muted and if Jibri does not
// detect any data stream (audio or video) comming in, it will stop
// recording after NO_MEDIA_TIMEOUT expires.
no-media-timeout = {{ .Env.NO_MEDIA_TIMEOUT }}
{{ end -}}

{{ if .Env.ALL_MUTED_TIMEOUT -}}
// If all clients have their audio and video muted, Jibri consideres this
// as an empty call and stops the recording after ALL_MUTED_TIMEOUT expires.
all-muted-timeout = {{ .Env.ALL_MUTED_TIMEOUT }}
{{ end -}}

{{ if .Env.DEFAULT_CALL_EMPTY_TIMEOUT -}}
// When detecting if a call is empty, Jibri takes into consideration for how
// long the call has been empty already. If it has been empty for more than
// DEFAULT_CALL_EMPTY_TIMEOUT, it will consider it empty and stop the recording.
default-call-empty-timeout = {{ .Env.DEFAULT_CALL_EMPTY_TIMEOUT }}
{{ end -}}

{{ if .Env.ICE_CONNECTION_TIMEOUT -}}
// If ICE hasn't completed, or stays in a state other than "connected" for this amount of time, Jibri will stop.
ice-connection-timeout = {{ .Env.ICE_CONNECTION_TIMEOUT }}
{{ end -}}
}
}

0 comments on commit ca7635a

Please sign in to comment.