Add API params to mute audio and/or video in Jitsi calls by default (#10376)

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
This commit is contained in:
Dominik Henneke 2023-03-15 13:51:00 +01:00 committed by GitHub
parent c6b6480bb7
commit 0cfd97b180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,10 @@ _Hash/fragment (formatted as a query string)_:
- `conferenceId`: The room or conference ID to connect Jitsi Meet to.
- `isAudioOnly`: Boolean for whether this is a voice-only conference. May not
be present, should default to `false`.
- `startWithAudioMuted`: Boolean for whether the calls start with audio
muted. May not be present.
- `startWithVideoMuted`: Boolean for whether the calls start with video
muted. May not be present.
- `displayName`: The display name of the user viewing the widget. May not
be present or could be null.
- `avatarUrl`: The HTTP(S) URL for the avatar of the user viewing the widget. May

View file

@ -506,6 +506,8 @@ export default class WidgetUtils {
"conferenceDomain=$domain",
"conferenceId=$conferenceId",
"isAudioOnly=$isAudioOnly",
"startWithAudioMuted=$startWithAudioMuted",
"startWithVideoMuted=$startWithVideoMuted",
"isVideoChannel=$isVideoChannel",
"displayName=$matrix_display_name",
"avatarUrl=$matrix_avatar_url",

View file

@ -27,6 +27,8 @@ describe("getLocalJitsiWrapperUrl", () => {
"#conferenceDomain=$domain" +
"&conferenceId=$conferenceId" +
"&isAudioOnly=$isAudioOnly" +
"&startWithAudioMuted=$startWithAudioMuted" +
"&startWithVideoMuted=$startWithVideoMuted" +
"&isVideoChannel=$isVideoChannel" +
"&displayName=$matrix_display_name" +
"&avatarUrl=$matrix_avatar_url" +