Username and Password Encryption

LiveSmart can be legally purchased only from CodeCanyon. If you have obtained the software from another source, you face the risk of it not working properly, or to have inclusions that may harm your system.

You can encrypt the TURN server username and password here. How to do this:

1. Choose a passphrase and set it in /server/connect.php file in $pasPhrase. You can generate a random one from Random.com
2. Encrypt your username and password from the form below. For example username1 with passphrase qcnUXPps4Rfz1K3x will be a61LBWXdEQlApk5TfZtraQ== and password1 with the same passphrase will be zd9lMwpTDsjJN6V8D0BuKQ==. Then the whole iceServer part of your config.json will be something like:

"iceServers": {
    "requirePass": true,
    "iceServers": [{
        "urls": [
                "stun:yourdomain:3478"
            ],
            "credential": "zd9lMwpTDsjJN6V8D0BuKQ==",
            "username": "a61LBWXdEQlApk5TfZtraQ=="
    },
    {
            "urls": [
                "turn:yourdomain:5349"
            ],
            "credential": "zd9lMwpTDsjJN6V8D0BuKQ==",
            "username": "a61LBWXdEQlApk5TfZtraQ=="
        }
    ]
}

3. Edit Configuration in you Dashboard and check the option “Username and password are encrypted”

Purchase code
Your desired passcode, that you will set in /server/connect.php
Your username or password string

Was This Article Helpful?

12
2 Comments

Leave a Reply to LiveSmart Team Cancel reply

Your email address will not be published. Required fields are marked *