JavaScript Gotchas

Firefox displays no local video

If your app displays the local video and then make a call almost simultaneously you may hit this issue as Firefox requires the local video stream object to be established prior making a call. To get round this use the onLocalMediaStream callback to make the call:

var isFirefox = navigator.userAgent.indexOf('Firefox') > -1;

if (isFirefox) {

UC.phone.onLocalMediaStream = function(localMediaStream) {

console.info('Local media stream is available: ', localMediaStream);

call.dial(audioEnabled, videoEnabled);

};

 

 

 

 

 

 

 

 

Comments are disabled on these articles if you require help contact support@cafex.com.

Have more questions? Submit a request

Comments

Powered by Zendesk