jicofo: add AV1 options

pull/1645/head
Daniel McAssey 1 year ago committed by Saúl Ibarra Corretgé
parent 0827186976
commit 54d3aca2bf
  1. 4
      docker-compose.yml
  2. 5
      jicofo/rootfs/defaults/jicofo.conf
  3. 4
      web/rootfs/defaults/settings-config.js

@ -147,6 +147,9 @@ services:
- VIDEOQUALITY_BITRATE_VP9_LOW - VIDEOQUALITY_BITRATE_VP9_LOW
- VIDEOQUALITY_BITRATE_VP9_STANDARD - VIDEOQUALITY_BITRATE_VP9_STANDARD
- VIDEOQUALITY_BITRATE_VP9_HIGH - VIDEOQUALITY_BITRATE_VP9_HIGH
- VIDEOQUALITY_BITRATE_AV1_LOW
- VIDEOQUALITY_BITRATE_AV1_STANDARD
- VIDEOQUALITY_BITRATE_AV1_HIGH
- VIDEOQUALITY_ENFORCE_PREFERRED_CODEC - VIDEOQUALITY_ENFORCE_PREFERRED_CODEC
- VIDEOQUALITY_PREFERRED_CODEC - VIDEOQUALITY_PREFERRED_CODEC
- XMPP_AUTH_DOMAIN - XMPP_AUTH_DOMAIN
@ -306,6 +309,7 @@ services:
- ENABLE_AUTO_OWNER - ENABLE_AUTO_OWNER
- ENABLE_CODEC_VP8 - ENABLE_CODEC_VP8
- ENABLE_CODEC_VP9 - ENABLE_CODEC_VP9
- ENABLE_CODEC_AV1
- ENABLE_CODEC_H264 - ENABLE_CODEC_H264
- ENABLE_CODEC_OPUS_RED - ENABLE_CODEC_OPUS_RED
- ENABLE_JVB_XMPP_SERVER - ENABLE_JVB_XMPP_SERVER

@ -107,6 +107,11 @@ jicofo {
enabled = {{ .Env.ENABLE_CODEC_VP9 | toBool }} enabled = {{ .Env.ENABLE_CODEC_VP9 | toBool }}
} }
{{ end }} {{ end }}
{{ if .Env.ENABLE_CODEC_AV1 }}
av1 {
enabled = {{ .Env.ENABLE_CODEC_AV1 | toBool }}
}
{{ end }}
{{ if .Env.ENABLE_CODEC_H264 }} {{ if .Env.ENABLE_CODEC_H264 }}
h264 { h264 {
enabled = {{ .Env.ENABLE_CODEC_H264 | toBool }} enabled = {{ .Env.ENABLE_CODEC_H264 | toBool }}

@ -436,6 +436,10 @@ config.videoQuality.maxBitratesVideo.VP8 = { low: {{ .Env.VIDEOQUALITY_BITRATE_V
{{ if and .Env.VIDEOQUALITY_BITRATE_VP9_LOW .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD .Env.VIDEOQUALITY_BITRATE_VP9_HIGH -}} {{ if and .Env.VIDEOQUALITY_BITRATE_VP9_LOW .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD .Env.VIDEOQUALITY_BITRATE_VP9_HIGH -}}
config.videoQuality.maxBitratesVideo = config.videoQuality.maxBitratesVideo || {} config.videoQuality.maxBitratesVideo = config.videoQuality.maxBitratesVideo || {}
config.videoQuality.maxBitratesVideo.VP9 = { low: {{ .Env.VIDEOQUALITY_BITRATE_VP9_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_VP9_HIGH }} }; config.videoQuality.maxBitratesVideo.VP9 = { low: {{ .Env.VIDEOQUALITY_BITRATE_VP9_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_VP9_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_VP9_HIGH }} };
{{ end -}}
{{ if and .Env.VIDEOQUALITY_BITRATE_AV1_LOW .Env.VIDEOQUALITY_BITRATE_AV1_STANDARD .Env.VIDEOQUALITY_BITRATE_AV1_HIGH -}}
config.videoQuality.maxBitratesVideo = config.videoQuality.maxBitratesVideo || {}
config.videoQuality.maxBitratesVideo.AV1 = { low: {{ .Env.VIDEOQUALITY_BITRATE_AV1_LOW }}, standard: {{ .Env.VIDEOQUALITY_BITRATE_AV1_STANDARD }}, high: {{ .Env.VIDEOQUALITY_BITRATE_AV1_HIGH }} };
{{ end -}} {{ end -}}
// Reactions // Reactions

Loading…
Cancel
Save