In tokbox , Is it possible to detect browsers and throw a not supported page.
But in tokbox demo ideo page they are doing this but i searched on their document but can't find how to do this stuff. can anyone help me on this.
In tokbox , Is it possible to detect browsers and throw a not supported page.
But in tokbox demo ideo page they are doing this but i searched on their document but can't find how to do this stuff. can anyone help me on this.
                        
                            
                        
                        
                            On
                            
                            
                                                    
                    
                I think you might be looking for the below code
OT.checkScreenSharingCapability(function(response) {
  if (!response.supported || response.extensionRegistered === false) {
    // This browser does not support screen sharing
  } else if (response.extensionInstalled === false) {
    // prompt to install the response.extensionRequired extension
  } else {
    // Screen sharing is available
  }
});
Let me know if you need further help
Opentok has better APIs now:
You can use network-test.