Edit your keys & names


Contents

1. Add your keys & secrets

2. Edit your display name

⚠️ DISCLAIMER ⚠️

Please be aware that all hard-coded variables and constants shown in the documentation and in the demo, such as Zoom Token, Zoom Access, Token, etc., are ONLY FOR DEMO AND TESTING PURPOSES. We STRONGLY DISCOURAGE the way of HARDCODING any Zoom Credentials (username, password, API Keys & secrets, SDK keys & secrets, etc.) or any Personal Identifiable Information (PII) inside your application. WE DON’T MAKE ANY COMMITMENTS ABOUT ANY LOSS CAUSED BY HARD-CODING CREDENTIALS OR SENSITIVE INFORMATION INSIDE YOUR APP WHEN DEVELOPING WITH OUR SDK.

1. Add your keys & secrets

SDK keys and secrets are very important for us to identify who and which application is calling for Zoom services. In order to get our SDK working in your iOS application, you will need to have the keys & secrets that we got in the Preface section ready.

As part of the example app, we have created an interface for you to store your SDK keys and secrets. This is the recommended practice to store your credentials, but you can also store it in your own ways.

  1. Open MobileRTCSample/AppDelegate.h
  2. Change the kSDKAppKey property and the kSDKAppSecret property to be your own SDK key and secret.
Web Domain

Please always use “zoom.us” in the kSDKDomain field.

AppDelegate.h

...
#define kSDKAppKey      @""
#define kSDKAppSecret   @""
#define kSDKDomain      @"zoom.us"
...
Please do not use raw IP address as the web domain

Please do not use raw IP address as the web domain, it will put yourself into vulnerability issues. If you would like to learn why, please see our security practices for more information.

2. Edit your display name

This part is not required, but it can make the example application to be more yours.

Our authentication process allows you to join a meeting without login. When in that scenario, the display name shown in the meeting will be the name that you provide in the application.

  1. Open MobileRTCSample/MainViewController.h
  2. At the very beginning of the file, you can find a constant called “kSDKUserName”. Change the kSDKUserName to any cool names you want. For example, Superman.

MainViewController.h

...
#define kSDKUserID      @""
#define kSDKUserName    @"Superman"
#define kSDKUserToken @""
#define kSDKMeetNumber  @""
#define kZAK @""
...

Save the changes, and you will see the changes in the next section.


Next