Table of Contents

adv.template

wrtc.adv.template is a number property selecting what wrtc template to use on the IXNX server.

Value

Number selecting wrtc template.

Default value

1

Usage

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.

Example

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;