Skip to content

Commit 5093efb

Browse files
committed
feat: Add testing flag for Av1
1 parent 7f86006 commit 5093efb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ services:
135135
- START_WITH_AUDIO_MUTED
136136
- START_VIDEO_MUTED
137137
- START_WITH_VIDEO_MUTED
138+
- TESTING_AV1_SUPPORT
138139
- TOKEN_AUTH_URL
139140
- TOOLBAR_BUTTONS
140141
- TRANSLATION_LANGUAGES

web/rootfs/defaults/settings-config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
{{ $ROOM_PASSWORD_DIGITS := .Env.ROOM_PASSWORD_DIGITS | default "false" -}}
6868
{{ $WHITEBOARD_COLLAB_SERVER_PUBLIC_URL := .Env.WHITEBOARD_COLLAB_SERVER_PUBLIC_URL | default "" -}}
6969
{{ $WHITEBOARD_ENABLED := .Env.WHITEBOARD_ENABLED | default "false" | toBool -}}
70+
{{ $TESTING_AV1_SUPPORT := .Env.TESTING_AV1_SUPPORT | default "false" | toBool -}}
7071

7172
// Video configuration.
7273
//
@@ -477,3 +478,7 @@ config.e2eping.maxMessagePerSecond = {{ .Env.E2EPING_MAX_MESSAGE_PER_SECOND }};
477478
if (!config.hasOwnProperty('whiteboard')) config.whiteboard = {};
478479
config.whiteboard.enabled = {{ $WHITEBOARD_ENABLED }};
479480
config.whiteboard.collabServerBaseUrl = '{{ $WHITEBOARD_COLLAB_SERVER_PUBLIC_URL }}';
481+
482+
// Testing
483+
if (!config.hasOwnProperty('testing')) config.testing = {};
484+
config.testing.enableAv1Support = {{ $TESTING_AV1_SUPPORT }};

0 commit comments

Comments
 (0)