WebRTC preview not working properly

When I try to use the publish html example I get an error saying:

WebSocket connection to ‘wss://localhost.streamlock.net/webrtc-session.json’ failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

Hello,

Have you requested and configured a StreamLock cert in the VHost.xml file located at:

[install-dir]/conf/VHost.xml

To request a StreamLock cert:

www.wowza.com

My Account -> StreamLock

Or alternatively you can create your own SSL Cert: link to article

If having further issues, please open a support case here and send the below files over for review:

[install-dir]/conf

[install-dir]/logs

[install-dir]/htdocs

*Please send a browser debug log of your connection attempts located in Dev Tools copied into a text document.

If you are not sure how to get this information please see the following tutorial.

https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux

If files are too big for email transport (20mb), please send a link to the files.

Regards,

JasonT