DoubangoTelecom / webrtc-plugin

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

Getting error: Object doesn't support property or method 'createMediaStream' #18

Closed ptownsend closed 7 years ago

ptownsend commented 7 years ago

Using version 1.2 of the plugin, I'm getting this exception:

Object doesn't support property or method 'createMediaStream'

when attempting to call new MediaStream()

image

Referencing this line of your adapter.js:

screen shot 2017-05-31 at 2 35 46 pm
DoubangoTelecom commented 7 years ago

On my tests it's working (Win10/IE11 and Win8/IE9). The function exist: https://github.com/DoubangoTelecom/webrtc-plugin/blob/6be6ae374f65ca4ed5dfd053b98b3f7ccacc62e0/Plugin.cxx#L511 Please attach the full js logs. Also make sure you're using latest adapter.js (version 1.1.4). Go to C:\Users\\AppData\Roaming\webrtc-plugin and check that both ./rtc.dll and x64\rtc.dll have the right version numbers (righ click -> Properties -> Details)

DoubangoTelecom commented 7 years ago

Also, to check that you're using the latest version try your sample [1] to see if it works now. If yes, this means your dlls are up2date [1] https://ptownsend.github.io/constraints-test.html

ptownsend commented 7 years ago

Ah -- yes, that was the issue -- either the uninstall process or the installer didn't clean up or overwrite one of those dlls. Manually deleting them from that directory and reinstalling the plugin worked.

Thanks!