mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Don't use getter here
This commit is contained in:
parent
ce5c5779bd
commit
1cd6540476
@ -200,7 +200,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||||||
if ((this._state === GroupCallState.Joining || this._state === GroupCallState.Joined) && this.joinedData) {
|
if ((this._state === GroupCallState.Joining || this._state === GroupCallState.Joined) && this.joinedData) {
|
||||||
const oldMedia = this.joinedData.localMedia;
|
const oldMedia = this.joinedData.localMedia;
|
||||||
this.joinedData.localMedia = localMedia;
|
this.joinedData.localMedia = localMedia;
|
||||||
this.localPreviewMedia?.dispose();
|
this.joinedData.localPreviewMedia?.dispose();
|
||||||
this.joinedData.localPreviewMedia = localMedia.asPreview();
|
this.joinedData.localPreviewMedia = localMedia.asPreview();
|
||||||
// reflect the fact we gained or lost local tracks in the local mute settings
|
// reflect the fact we gained or lost local tracks in the local mute settings
|
||||||
// and update the track info so PeerCall can use it to send up to date metadata,
|
// and update the track info so PeerCall can use it to send up to date metadata,
|
||||||
|
Loading…
Reference in New Issue
Block a user