user3241334
user3241334

Reputation: 157

apprtc - getusermedia() failed

i downloaded apprtc from here. Then i installed python 2.7, the google-appengine-api and all dependencies. i add all to my path and run the following command:

dev_appserver.py apprtc

which produce the following output:

INFO     2014-04-24 21:31:34,246 sdk_update_checker.py:242] Checking for updates
to the SDK.
INFO     2014-04-24 21:31:35,681 sdk_update_checker.py:286] This SDK release is
newer than the advertised release.
INFO     2014-04-24 21:31:35,917 api_server.py:171] Starting API server at: http
://localhost:46857
INFO     2014-04-24 21:31:35,924 dispatcher.py:182] Starting module "default" ru
nning at: http://localhost:8080
INFO     2014-04-24 21:31:35,927 admin_server.py:117] Starting admin server at:
http://localhost:8000

but if i now open localhost:8080 in chrome or firefox there popup the following message:

getusermedia() failed. is this a webrtc capable browser

Gathered ICE Candidates
Local:
Remote:
getUserMedia failed with exception: getUserMedia is not defined

but if i open the official apprtc demo it's running fine.

what can be the reason for the failures i get local? thank you!

Upvotes: 2

Views: 568

Answers (1)

Ahmad
Ahmad

Reputation: 31

try this to getuser media

navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;

Upvotes: 2

Related Questions