fix cannot replace endpoint for adulting session (#992)

* fix cannot replace endpoint for adulting session

* fix cannot replace endpoint for adulting session
This commit is contained in:
Hoan Luu Huu
2024-12-06 19:51:24 +07:00
committed by GitHub
parent 0458bb7d6c
commit 54cc76606b

View File

@@ -45,8 +45,10 @@ class AdultingCallSession extends CallSession {
return this.sd.ep;
}
/* see note above */
set ep(newEp) {}
// When adulting session kicked from conference, replaceEndpoint is a must
set ep(newEp) {
this.sd.ep = newEp;
}
get callSid() {
return this.callInfo.callSid;