Click here to Skip to main content
15,881,281 members
Articles / Security

Skype Web SDK Troubleshooting - Part 2

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
8 Sep 2015CPOL2 min read 6.4K  
Whilst building my next Pluralsight course, I've come across a few more scenarios and solutions to keep in mind, many specific to the Chrome web browser.

Whilst building my next Pluralsight course, I've come across a few more scenarios and solutions to keep in mind, many specific to the Chrome web browser.

Additional authentication dialog box

In some instances, especially when you're running the Lync or Skype for Business client application on the same PC as your web app is running, an additional dialog box may appear when you try to authenticate using the Skype Web SDK.

This is typically shown when the user account your using for the SDK authentication method, client.signInManager.signIn(), is difference to the client app running in the background.

For example, I am always logged in with my personal Skype for Business account using the client app, but test my SDK code using a specific account I've created for Pluralsight.

Authentication mis-match with Skype Web SDK and client app

The result is your web browser may pop up an additional authentication dialog - if you leave with your client credentials, the SDK will use these and not the credentials you pass it.

The Solution: Simple re-enter your SDK credentials in the popup dialog box, and you're good to go. The SDK will cache these, so you will only need to enter them once per browser session.

Learn more about the SDK's prerequisites.

 

Lync / Skype Web App Plugin for Chrome

If you're seeing the MediaPluginNotInstalled error, and you're sure you've installed the plugin, it may be due to NPAPI not being enabled.

MediaPluginNotInstalled error on Chrome

For versions of Chrome after 1st September 2015

Google has decided to remove NPAPI support in Chrome, so currently the Lync and Skype for Business Web App may not work, unless you stay on older versions of Chrome.

See Google's announcement for more information.

Microsoft are currently working on a solution for this.

In the meantime, Firefox and IE continue to work well.

For versions of Chrome before 1st September 2015

To add Audio or Video modalities to a Skype Web SDK application, the Lync Web App or Skype for Business Web App plugin must be installed. This usually 'just works', but from time to time, depending on your browser configuration, some tweaking is required.

Chrome NPAPI restrictions

Enable the plugin by setting the NPAPI flag at chrome://flags/#enable-npapi and checking the "Always allowed to run" checkbox for the plugin at chrome://plugins.

NPAPI configuration or settings in Chrome for Lync and Skype Web Plugin

Browsers in Administrator mode

The plugin isn't supported in browsers that run on Windows using "Run As Administrator", so ensure your browser is opened as a standard user application.

 

Lync / Skype Web App Plugin for Edge isn't supported

<sarcasm>Thanks Microsoft</sarcasm> But it was to be expected due to the cut-down nature and simplicity of Microsoft's new Edge Browser.

At this time, the plugin isn't supported in Edge.

Keep an eye on their development roadmap and status for updates.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO Kutamo and ErrLog.IO
Australia Australia
Pluralsight Author, .Net Developer, Writer & Blogger

http://www.kutamo.com/
http://www.errlog.io/
http://www.matthewproctor.com/
http://www.pluralsight.com/author/matthew-proctor

I am an Australian IT professional based in Melbourne, Victoria, Australia.

I'm a polyglot programmer, being proficient in a number of languages and frameworks including C#, VB.Net, F#, Javascript, Perl, Powershell and Z80 & 6502 assembly. Smile | :)

Comments and Discussions

 
-- There are no messages in this forum --