Weemo Driver not detected in IE for video conferenceing

Posted by Shasseb under .NET Framework category on | Points: 40 | Views : 5214

I am working on weemo API these days to integrate video conferencing but the problem is when i run my javascript code in IE the alert message appears that the weemo driver is not detected although the driver is already installed in the system and its running fine on chrome.
Can anyone help me in this regard?

Here is my code.
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>My Weemo Application</title>
<!-- Quick-Start: Step 2 -->
<script type="text/javascript" src="https://download.weemo.com/js/webappid/8fd1f172ba3c"></script>

<script type="text/javascript">
// Initializze a object for current call
var current_call = null;
var userEmail = "";
var weemo;

function connectToWeemo(){
userEmail = document.getElementById("userEmail").value;
if(!userEmail){alert("Please enter a valid email.");return;}
/* Quick-Start: Step 3 */
// Initialize the Main Object with WebAppIdentifier, Token, Debug and DisplayName
weemo = new Weemo("8fd1f172ba3c", userEmail, "internal");
// Set this method to 1 if you want use the javascript console log
/* Quick-Start: Step 4 */
/* Quick-Start: Step 5 */
weemo.onWeemoDriverNotStarted = function(downloadUrl) {
alert('WeemoDriver not detected, copy and paste this following url on your browser: '+downloadUrl);

// Get the Connection Handler callback when the JavaScript is connected to WeempoDriver
weemo.onConnectionHandler = function(message, code) {
console.log("Connection Handler : " + message + ' ' + code);
switch(message) {
/* Quick-Start: Step 6 */
// Authenticate token and webappId
case 'connectedWeemoDriver':
case 'sipOk':
/* Quick-Start: Step 7-1 */
/* Quick-Start: Step 7 */
// Create a conference room and report that user is connected
document.getElementById('stat').value = "User authenticate";
case 'loggedasotheruser':
// force connection, kick other logged users
// Call Object is created by callback, this function permits to catch events comming from the call object
weemo.onCallHandler = function(callObj, args) {
document.getElementById('stat').value = "Call started...";
current_call = callObj;
if (args.type == "call" && args.status == "terminated") {
document.getElementById('stat').value = "Call Terminated";


function callUser(){
if(!weemo){alert("Weemo not initialized...");return;}
var emailToCall = document.getElementById("otherUserEmail").value;
weemo.createCall(emailToCall, "internal", "Test");



Your email: <input type="text" id="userEmail" /><button type="button" onclick="connectToWeemo();">Connect</button>

<br />
User to call (enter an email that is also connected): <input type="text" id="otherUserEmail" />
<button type="button" onclick="callUser();" disabled id="callOtherUserButton">Call</button>
<br />
<input type="text" id="stat" name="debug" maxlength="42"/>
<!-- Send commands to call object -->
<button type="button" onclick="current_call.videoStart();"> Show video </button>
<button type="button" onclick="current_call.videoStop();"> Stop video </button>
<button type="button" onclick="current_call.audioMute();"> Mute </button>
<button type="button" onclick="current_call.audioUnMute();"> UnMute </button>
<!-- Hang Up the call -->
<button type="button" onclick="current_call.hangup();"> Hang Up </button>


Thanks in advance :)

Comments or Responses

Login to post response