How do I change host name while creating instant meeting?

I have InstantMeetingOptions() but I am not quite sure how to change the name for the host while creating an instant meeting with .startInstantMeeting(). Or rename the host name.

Any help will be appreciated.

Hi @naveenworkingatoffic, thanks for using the devforum.

When creating an instant meeting, you must be logged in and will join the meeting with the name associated with your Zoom account.

After you have joined or started a meeting of any type, you may attempt to change a name by calling InMeetingService#changeName:

InMeetingService service = ZoomSDK.getInstance().getInMeetingService();
MobileRTCSDKError result = service.changeName("New name", userId); // Pass in the name you are trying to use as a String and the user ID of the user whose name you are changing
if (result.equals(MobileRTCSDKError.SDKERR_SUCCESS)) {
    // You have updated the name of the selected user


this doesn’t work i tried changing the name but its not working please help me with this,and i am getting the user ID = 0 while passing it to the method.

Hi @arun2,

Sorry to hear you are running into issues when trying to change a name. Can you please provide a code snippet showing how you are doing this, as well as any errors you are seeing returned from the SDK?