AfikDeri / laravel-react-webrtc-video-chat

Video chat application based on WebRTC (Laravel & reactJS)
96 stars 71 forks source link

When I upload this application in server i am getting this issue #3

Open vishupradhan opened 5 years ago

vishupradhan commented 5 years ago

app.js:83061 Uncaught (in promise) TypeError: Cannot read property 'getUserMedia' of undefined at app.js:83061 at new Promise () at MediaHandler.getPermissions (app.js:83060) at App.componentWillMount (app.js:83239) at callComponentWillMount (app.js:61966) at mountClassInstance (app.js:62059) at updateClassComponent (app.js:65584) at beginWork$1 (app.js:67103) at beginWork$$1 (app.js:71791) at performUnitOfWork (app.js:70809) (anonymous) @ app.js:83061 getPermissions @ app.js:83060 componentWillMount @ app.js:83239 callComponentWillMount @ app.js:61966 mountClassInstance @ app.js:62059 updateClassComponent @ app.js:65584 beginWork$1 @ app.js:67103 beginWork$$1 @ app.js:71791 performUnitOfWork @ app.js:70809 workLoopSync @ app.js:70783 renderRoot @ app.js:70476 scheduleUpdateOnFiber @ app.js:70017 scheduleRootUpdate @ app.js:72917 updateContainerAtExpirationTime @ app.js:72945 updateContainer @ app.js:73034 (anonymous) @ app.js:73561 unbatchedUpdates @ app.js:70285 legacyRenderSubtreeIntoContainer @ app.js:73560 render @ app.js:73640 ./resources/js/components/App.js @ app.js:83366 webpack_require @ app.js:20 ./resources/js/app.js @ app.js:83100 webpack_require @ app.js:20 0 @ app.js:83389 webpack_require @ app.js:20 (anonymous) @ app.js:84 (anonymous) @ app.js:87 Promise.then (async) componentWillMount @ app.js:83239 callComponentWillMount @ app.js:61966 mountClassInstance @ app.js:62059 updateClassComponent @ app.js:65584 beginWork$1 @ app.js:67103 beginWork$$1 @ app.js:71791 performUnitOfWork @ app.js:70809 workLoopSync @ app.js:70783 renderRoot @ app.js:70476 scheduleUpdateOnFiber @ app.js:70017 scheduleRootUpdate @ app.js:72917 updateContainerAtExpirationTime @ app.js:72945 updateContainer @ app.js:73034 (anonymous) @ app.js:73561 unbatchedUpdates @ app.js:70285 legacyRenderSubtreeIntoContainer @ app.js:73560 render @ app.js:73640 ./resources/js/components/App.js @ app.js:83366 webpack_require @ app.js:20 ./resources/js/app.js @ app.js:83100 webpack_require @ app.js:20 0 @ app.js:83389 webpack_require @ app.js:20 (anonymous) @ app.js:84 (anonymous) @ app.js:87

atak011 commented 4 years ago

@vishupradhan hey you must serve on https url with ssl certificed