User Agent registration with Apizee users management

In this case, User Agent is created using an account that exist on apizee cloud : Prefix "apizee:" need to be added on URI :
        var ua = new apiRTC.UserAgent({
            uri: 'apizee:[put your login here]'
In order to start communicating with other users, User Agent has to register to the Apizee platform. Password has to be set in order to allow authentication and user connection.
            password : [put your password here]
        }).then(function (session) {
            // ok
            console.log("Registration OK");
            connectedSession = session;
        }).catch(function (error) {
            // error
            console.log("Registration error");
Check documentation for a complete description of RegisterInformation possibilities

Live Demo