MediaSFU Shared
    Preparing search index...

    Function setCoHost

    • Promote a participant to co-host and choose what they may moderate.

      Only the host may do this. Areas not listed are explicitly disabled, so this sets the complete responsibility set rather than merging with the previous one.

      Parameters

      Returns Promise<HeadlessActionResult>

      await setCoHost({ parameters, name: 'Paul', areas: ['media', 'waiting'] });