Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
elm
element-web
matrix-js-sdk
Commits
5f440fc2
Commit
5f440fc2
authored
1 year ago
by
Enrico Schwendig
Browse files
Options
Download
Email Patches
Plain Diff
force to allow calls without video and audio in embedded mode
parent
e8c89e99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/webrtc/groupCall.ts
src/webrtc/groupCall.ts
+2
-1
No files found.
src/webrtc/groupCall.ts
View file @
5f440fc2
...
...
@@ -236,7 +236,7 @@ export class GroupCall extends TypedEventEmitter<
public
readonly
userMediaFeeds
:
CallFeed
[]
=
[];
public
readonly
screenshareFeeds
:
CallFeed
[]
=
[];
public
groupCallId
:
string
;
public
readonly
allowCallWithoutVideoAndAudio
:
boolean
;
public
allowCallWithoutVideoAndAudio
:
boolean
;
private
readonly
calls
=
new
Map
<
string
,
Map
<
string
,
MatrixCall
>>
();
// user_id -> device_id -> MatrixCall
private
callHandlers
=
new
Map
<
string
,
Map
<
string
,
ICallHandlers
>>
();
// user_id -> device_id -> ICallHandlers
...
...
@@ -522,6 +522,7 @@ export class GroupCall extends TypedEventEmitter<
}
public
async
enter
():
Promise
<
void
>
{
this
.
allowCallWithoutVideoAndAudio
=
true
;
if
(
this
.
state
===
GroupCallState
.
LocalCallFeedUninitialized
)
{
await
this
.
initLocalCallFeed
();
}
else
if
(
this
.
state
!==
GroupCallState
.
LocalCallFeedInitialized
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment