stephenlb / webrtc-sdk

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.
https://stephenlb.github.io/webrtc-sdk/
MIT License
854 stars 279 forks source link

Error running the example. MediaStreamError, name: "NotFoundError", message: "The object can not be found here." #12

Open SaaShah opened 8 years ago

SaaShah commented 8 years ago

Alert! - Reload Page. 192.168.1.50:8080:337:5 MediaStreamError { name: "NotFoundError", message: "The object can not be found here.", constraintName: "", stack: "" } 192.168.1.50:8080:338:5 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. 192.168.1.50:80

I've this error when I run the repository using http-server.

// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- // Problem Occured During Init // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- phone.unable(function(details){ console.log("Alert! - Reload Page."); console.log(details); set_icon('remove'); });

I guess this is the piece of code that is being run.

What if I run it on Apache server.?

stephenlb commented 8 years ago

holy moly