wrtc.adv.template is a number property selecting what wrtc template to use on the IXNX server.
Number selecting wrtc template.
1
You should really change wrtc.adv.template only in wrtc.init(). But if you for some reason want to change it later you must call wrtc.changeCredentials() after.
If an IXNX have two different wrtc templates, one for digest authentication and one using REST authentication token you could select between them using:
if (wrtc.restToken)
wrtc.adv.template=2;
else
wrtc.adv.template=1;