var client = AgoraRTC.createClient({mode: ‘live’, codec: “h264”}); client.init( , function () { console.log(“AgoraRTC client initialized”); }, function (err) { console.log(“AgoraRTC client init failed”, err); });