mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +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(){
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user