MacOS 




4. Creating the script.js Page

Watch: Create the script.js file

For the next step, we will need to create a the unique options that control connection between Agora and our client.  

Process:

With Notepad open, click New. 

Copy  the code this code:

Paste the code into the text editor. 

Click File.

Click Save As.

Select the Scripts folder in order to save the file into this folder.

In the File name field, type script.js.

Click the Save as type drop-down menu, and select All files.

Click Save.


Next Steps

There are three critical items that we will need to update in order to complete the configuration. These are: 
 - AppID
 - Token
 - Channel
 - Mode
 - Stream
 - Codec

© Copyright 2021 | Agora | Bradford Simpson  All Rights Reserved.