Methods
- 
    
<inner> connect()
 - 
    
    
A session is created between the Client and the VideoGateway
Returns:
VideoRTC methods (Success): echoTest, sip, detect, getDevices, splitAgent, splitClient, videoRoom, videoMail, videoPlayer, videoCall
- Type
 - Promise.<VideoRTC>
 
Example
var connection = myVideoApp.connect() .then(function(usecases) { // Use Cases (Classes) ... }) .catch(function(cause) { console.log(cause || "Error connecting with the VideoRTC"); }) - 
    
<inner> disconnect()
 - 
    
    
The current session and all connections with the VideoGateway are closed
Returns:
- Type
 - nothing
 
Example
myVideoApp.disconnect()
 - 
    
<inner> getBrowser()
 - 
    
    
Get the browser name used by the client
Returns:
Browser name: "chrome", "firefox", "safari", "opera" or "IE"
- Type
 - string
 
Example
var browserName = myVideoApp.getBrowser(); // "chrome", "firefox"... console.log("Browser: " + browserName); - 
    
<inner> isConnected()
 - 
    
    
It is checked if there is any active session between Client and the VideoGateway
Returns:
Is the client connected with the VideoGateway?
- Type
 - Boolean
 
Example
var status = myVideoApp.isConnected(); // true or false console.log("Status: " + status); - 
    
<inner> isMobile()
 - 
    
    
Detects if the requester client is using or not a mobile device
Returns:
Is the client using a Mobile device?
- Type
 - Boolean
 
Example
var isMobile = myVideoApp.isMobile(); // true or false console.log("Mobile device?: " + isMobile);