Fix setting local participant call on hangup
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user