mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Block calls for browsers that does not support it.
This commit is contained in:
		@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user