Host status is incorrect

The host and cohost status of a user are being incorrectly reported. Host is being reported as cohost and cohosts are being reported as host.

Which Mobile Meeting SDK version?

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Join a meeting with multiple devices.
  2. Set up a scenario where you have User1 as host, User2 as cohost, and User3 without any special priveleges.
  3. Run this code:
if let service = MobileRTC.shared().getMeetingService(), let list = service.getInMeetingUserList() {
  for id in list {
    if let id = id as? UInt, let user = service.userInfo(byID: id) {
      print("found \(user.userName), host? \(user.isHost), cohost? \(user.isCohost)")
  1. You will see that host and cohost are flipped. The above code would output the following:
    found User1, host? false, cohost? true
    found User2, host? true, cohost? false
    found User3, host? false, cohost? false

Smartphone (please complete the following information):

  • OS: iOS 14

Additional context
This was working in the previous version of the SDK.

Hey @jeremy.provost,

Thanks for using the dev forum!

I am seeing the same as well, thank you for the clear reproduction steps. Will submit a bug report for this.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.