DoubangoTelecom / webrtc-plugin

WebRTC plugin for IE
GNU General Public License v3.0
12 stars 7 forks source link

Method to check plugin version #9

Closed MikeBlair closed 7 years ago

MikeBlair commented 7 years ago

There needs to be a method to check if the plugin is successfully loaded and a way to get the current plugin version so we can tell if the plugin needs to be upgraded.

Filed by: Mike Blair @ Lifesize

DoubangoTelecom commented 7 years ago

Using adapter.js version 1.1.2: To detect when the plugin is loaded:

document.addEventListener("webrtcloaded", function() {
      });

To get the plugin version:

getWebRTCPlugin().versionName