Allow joining conference as muted (#821)

* allow entering conference as muted

* allow entering conference as muted
This commit is contained in:
Hoan Luu Huu
2024-07-20 23:31:25 +07:00
committed by GitHub
parent 83f7abcd89
commit ee24041cba

View File

@@ -351,7 +351,9 @@ class Conference extends Task {
Object.assign(opts, {flags: { Object.assign(opts, {flags: {
...(this.endConferenceOnExit && {endconf: true}), ...(this.endConferenceOnExit && {endconf: true}),
...(this.startConferenceOnEnter && {moderator: true}), ...(this.startConferenceOnEnter && {moderator: true}),
...((this.joinMuted || this.speakOnlyTo) && {joinMuted: true}), //https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod_conference_3965534/
// mute | Enter conference muted
...((this.joinMuted || this.speakOnlyTo) && {mute: true}),
}}); }});
/** /**