MediaSFU Shared
    Preparing search index...

    Function updatedCoHost

    • Synchronizes co-host assignment state and optionally alerts the newly assigned co-host.

      Parameters

      Returns Promise<void>

      Resolves after co-host state is synchronized.

      await updatedCoHost({
      coHost: 'user123',
      coHostResponsibility: responsibilities,
      eventType: 'conference',
      islevel: '1',
      member: 'user123',
      youAreCoHost: false,
      updateCoHost: setCoHost,
      updateCoHostResponsibility: setCoHostResponsibility,
      updateYouAreCoHost: setYouAreCoHost,
      showAlert,
      });