Fix setting local participant call on hangup
This commit is contained in:
parent
e345154f13
commit
971ca2083b
1 changed files with 3 additions and 2 deletions
|
@ -763,10 +763,11 @@ export class ConferenceCallManager extends EventEmitter {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (newLocalCallParticipant) {
|
if (newLocalCallParticipant) {
|
||||||
const localFeeds = call.getLocalFeeds();
|
const newCall = newLocalCallParticipant.call;
|
||||||
|
const localFeeds = newCall.getLocalFeeds();
|
||||||
|
|
||||||
if (localFeeds.length > 0) {
|
if (localFeeds.length > 0) {
|
||||||
this.localParticipant.call = call;
|
this.localParticipant.call = newCall;
|
||||||
this.localParticipant.feed = localFeeds[0];
|
this.localParticipant.feed = localFeeds[0];
|
||||||
} else {
|
} else {
|
||||||
this.localParticipant.call = null;
|
this.localParticipant.call = null;
|
||||||
|
|
Loading…
Reference in a new issue