Created
June 14, 2020 14:03
-
-
Save shriyaRam/995e7e8fafbb1d567ebcad41a772593c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Client Setup | |
// Defines a client for RTC | |
let client = AgoraRTC.createClient({ | |
mode: 'live', | |
codec: "h264" | |
}); | |
// Client Setup | |
// Defines a client for Real Time Communication | |
client.init("82ed46ddc986446a97ead5c10d1c23ee",() => console.log("AgoraRTC client initialized") ,handleFail); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment