mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Block calls for browsers that does not support it.
This commit is contained in:
parent
817ef1069c
commit
9f3311978d
@ -103,6 +103,10 @@ ComunicWeb.components.calls.controller = {
|
||||
*/
|
||||
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
|
||||
//make calls
|
||||
if(this.getConfig() == null)
|
||||
|
Loading…
Reference in New Issue
Block a user