mirror of https://github.com/vector-im/riot-web
Add API params to mute audio and/or video in Jitsi calls by default (#10376)
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>pull/28217/head
parent
c6b6480bb7
commit
0cfd97b180
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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" +
|
||||
|
|
Loading…
Reference in New Issue