authentication based stun server in SDK

bharath

New Member
Is there any possibility of adding authentication based stun server in the SDK .

We are trying to use IPv6 aware stun server which has authentication,but there is no option in SDK to use username and password while using the stun server details in the SDK.
 

Max

Administrator
Staff member
Please try like this
Code:
Flashphoner.createSession({urlServer: url, mediaOptions: {"iceServers": [ { 'url': 'stun:stun.example.com', 'credential': 'password1', 'username': 'username1' } ]}})
 
Top