Skip to end of metadata
Go to start of metadata

This page lists the API used for the Multiple Point of Presence feature and are supported by Sonus WebRTC SDK.

Identifying the Device

To uniquely identify a device, a device Info JSON parameter is passed in the login request.

JSON Structure
deviceinfo : {   "deviceid" : "value",
                      "devicetype": {  "OS" : "value" ,
                                       "Browser" : "value",
                                       "BrowserVersion" :" value",
                                       "VideoCapable" : "value",
                      		     },
              };

Each device is identified with a unique device Id. Device Id is generated combining multiple random numbers.

dev_Uid =
"sons-wrtc-".concat(random1).concat(".").concat(random2).concat(".").concat(random3);

where,
random1,random2,random3 are different random numbers. 

The following example shows how device info would look:

deviceinfo:{"deviceid":"sons-wrtc-6616000.585000.5114000",
                   "devicetype":{ "OS":"Windows",
                                  "Browser":"chrome",
                                  "BrowserVersion":"46",
                                  "VideoCapable":"True"
                                },
           };

  • No labels