anchor media on dial if we are recording (#1520)

This commit is contained in:
Dave Horton
2026-02-23 18:13:25 -05:00
committed by GitHub
parent 9090006703
commit 0267acf9e1
2 changed files with 5 additions and 0 deletions

View File

@@ -200,6 +200,10 @@ class CallSession extends Emitter {
return this.backgroundTaskManager.isTaskRunning('listen');
}
get isBackGroundRecord() {
return this.backgroundTaskManager.isTaskRunning('record');
}
/**
* SIP call-id for the call
*/

View File

@@ -160,6 +160,7 @@ class TaskDial extends Task {
const keepAnchor = this.data.anchorMedia ||
this.isTranscoding ||
this.cs.isBackGroundListen ||
this.cs.isBackGroundRecord ||
this.cs.onHoldMusic ||
ANCHOR_MEDIA_ALWAYS ||
this.listenTask ||