wrtc.sipAuthName is a string parameter containing user's SIP authentication name.
It is mostly used in SIP systems there wrtc.addressName contains user's SIP address and wrtc.sipAuthName contains user's login name:
wrtc.addressName = "adam@foo.com";
wrtc.sipAuthName = "adam";
(In most SIP implementations the login name is the same as the username part of the SIP address, though it is not mandated and thus may differ on some systems.)
String containing a user's SIP authentication (login) name.
Undefined.
wrtc.sipAuthName is used by line.authenticate().
Usually you set wrtc.sipAuthName in wrtc.onAuthenticate before it calls obj.authenticate().
However if you want to change value of wrtc.sipAuthName at some other time you must call wrtc.changeName() to trigger a new SIP authentication (a new wrtc.onAuthenticate() event).