How can I change the properties of MobileRTCMeetingSettings?


I tried to test the change of settings of AV room.  I modified the  onMeetingStateChange in MainViewController.m as following.

  • (void)onMeetingStateChange:(MobileRTCMeetingState)state


    MobileRTCMeetingSettings *meetingTitleHidden = YES;

    MobileRTCMeetingSettings *meetingParticipantHidden = YES;



However, when I run the simulation, the simulation collapses due to the thread breaking points ( The code that I inserted! )


How can I edit the settings ( properties in the MobileRTCMeetingSettings.h )

I’m looking forward to seeing your reply! (:







Hi Sungpah,

please take a look at sample project->SettingsViewController.m, we list many example there about meeting settings, for example:

  • (UITableViewCell*)titleHiddenCell


    MobileRTCMeetingSettings *settings = [[MobileRTC sharedRTC] getMeetingSettings];

    if (!settings)

        return nil;  

    BOOL hidden = [settings meetingTitleHidden];

    if (!_titleHiddenCell)


        _titleHiddenCell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];

        _titleHiddenCell.selectionStyle = UITableViewCellSelectionStyleNone;

        _titleHiddenCell.textLabel.text = NSLocalizedString(@“Hide Meeting Title”, @"");


        UISwitch *sv = [[UISwitch alloc] initWithFrame:CGRectZero];

        [sv setOn:hidden animated:NO];

        [sv addTarget:self action:@selector(onHideMeetingTitle:) forControlEvents:UIControlEventValueChanged];

        _titleHiddenCell.accessoryView = sv;


   return _titleHiddenCell;