When calling RtcommService.setConfig() it does not correctly modify the endpoint configuration.
var getMediaConfig = function() {
var mediaConfig = {
ringbacktone: RtcommConfigService.getRingBackTone(),
ringtone: RtcommConfigService.getRingTone(),
broadcast : {
audio : RtcommConfigService.getBroadcastAudio(),
video : RtcommConfigService.getBroadcastVideo()
},
webrtc : RtcommConfigService.getWebRTCEnabled(),
chat : RtcommConfigService.getChatEnabled(),
};
return (mediaConfig);
};
{
appContext : "testApp",
ringtone: "resources/ringtone.wav",
ringbacktone: "resources/ringbacktone.wav",
chat: true,
chatConfig: {},
webrtc:true,
webrtcConfig:{
broadcast: { audio: true, video: true},
iceServers: ["stun:stun1.l.google.com:19302", "stun:stun2.l.google.com:19302"]
}
}