|
As I mentioned, you can run on HTTP if you start AppRTC on localhost:8080 by starting the instance without any parameters /google_appengine/dev_appserver.py /apprtc/out/app_engine/ then navigate to http://localhost:8080 in your browser. If you want to run SSL you need to setup a proxy that forwards your traffic to the AppRTC instance. I recommend stunnel for development (if you use it for production make sure to secure it properly). Basic steps: - Create an SSL private key and generate certificates
- Make sure stunnel runs in server modeby adding/setting client = no in stunnel.conf.
- Setup a SSL handler in stunnel.conf:
accept = 443connect = 127.0.0.1:8080cert = /etc/stunnel/stunnel.pem- Start the AppRTC instance: /google_appengine/dev_appserver.py /apprtc/out/app_engine/
- Browse to https://iptoapprtc
- Do note that the Turn server might not work due to not accessing AppRTC on localhost:8080 directly.
|