Block calls for browsers that does not support it.

This commit is contained in:
Pierre HUBERT 2019-02-02 08:13:06 +01:00
parent 817ef1069c
commit 9f3311978d

View File

@ -103,6 +103,10 @@ ComunicWeb.components.calls.controller = {
*/ */
isAvailable: function(){ isAvailable: function(){
//First, check if this browser support webrtc
if(!SimplePeer.WEBRTC_SUPPORT)
return false;
//If do not have any call configuration, it is not possible to //If do not have any call configuration, it is not possible to
//make calls //make calls
if(this.getConfig() == null) if(this.getConfig() == null)