Update group membership for a group call when it changes
This commit is contained in:
parent
3f58a9b762
commit
db0ebc5779
3 changed files with 25 additions and 7 deletions
|
@ -553,6 +553,17 @@ export class CallingClass {
|
|||
this.getGroupCall(conversationId)?.requestVideo(resolutions);
|
||||
}
|
||||
|
||||
public groupMembersChanged(conversationId: string): void {
|
||||
// This will be called for any conversation change, so it's likely that there won't
|
||||
// be a group call available; that's fine.
|
||||
const groupCall = this.getGroupCall(conversationId);
|
||||
if (!groupCall) {
|
||||
return;
|
||||
}
|
||||
|
||||
groupCall.setGroupMembers(this.getGroupCallMembers(conversationId));
|
||||
}
|
||||
|
||||
// See the comment in types/Calling.ts to explain why we have to do this conversion.
|
||||
private convertRingRtcConnectionState(
|
||||
connectionState: ConnectionState
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue