linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone Web and Internet Explorer


From: Saumar Hajjar
Subject: Re: [Linphone-developers] Linphone Web and Internet Explorer
Date: Fri, 31 Jan 2014 11:58:41 -0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

OK, a little update:

- Regarding the Unhandled Exception on IE8 - it happens with the reference web app (web.linphone.org). Writing my own application (way simpler than the reference app) I was unable to reproduce the problem. Still, web.linphone.org is nice - there are some corporations that only allow IE, and this should be investigated.

- The IE11 problem is that event callbacks never trigger the plugin, as attachEvent was deprecated in IE11 and addEventListener seems to be broken on activex/IE11.
See: https://groups.google.com/forum/#!topic/firebreath-dev/BrMnPEUa580

My solution:
/* Method to create callbacks */
function addEvent(obj, name, func){
    var isIE11 = !!navigator.userAgent.match(/Trident\/7\./);
    if (isIE11) {
        obj['on' + name] = func;
        return;
    }
    var browser = searchString(getDataBrowser());
    if (browser !== 'Explorer') {
        obj.addEventListener(name, func, false);
    } else {
        obj.attachEvent('on' + name, func);
    }
}

Hope this information helps someone.

Cheers


Em 28/1/2014 16:21, Saumar Hajjar escreveu:
Hi,

I installed the Linphone Web plugin successfully and tested it using Firefox and Chrome (audio and video) using web.linphone.org.
But on Internet Explorer 8 / XP crashes after clicking the login button.

Apparently nplinphone-web.dll is causing:
Unhandled exception at 0x05f6000b in iexplore.exe: 0xC0000005: Access violation reading location 0x00000000.

This error seems to be consistent, as I tested on 2 different machines.

On IE 11 / Windows 7, the login button keeps waiting forever - no timeout - also there was some problems trying to install the plugin using the CAB file (publisher not allowed or similar error).

The plugin manually downloaded on both cases was: http://www.linphone.org/snapshots/linphone-web/linphone-web-Win32-master-latest.msi
(28-Jan-2014 09:40)


Any help is appreciated,

Thanks

S

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]