Can't setup Wowza WebRTC locally

Dear Wowza,

I’ve followed all instructions in the README.html of the WebRTC zip package.
I’m using a Wowza free trial license with the WebRTC preview.

I can access the self-hosted examples pages at:

https://localhost:9443/webrtc/publish/index.html

I have a webrtc application which I can push a RTMP stream onto from Wirecast, but I can’t publish/play a WebRTC stream.

If I try to publish a WebRTC stream instead, from the Publish example, I receive the following error:
WebSocket connection to ‘wss://192.168.0.9:9443/webrtc-session.json’ failed: Error in connection establishment: net::ERR_INSECURE_RESPONSE
It is unclear where the webrtc-session.json file should be, it is nowhere in my Wowza installation folder.

There is nothing specific showing up in the logs when I do this.

Could you point me in the right direction?

Hi @Lionel Martin

I think it’s because you’re connecting wss via an IP address, while the SSL verification requires you to use the same domain name as in the certificate. Also keep in mind that self-generated SSL certificates don’t work with the WebRTC preview.

If you want, you can join the Wowza Slack community via https://www.wowza.com/slack, and discuss your problem with fellow-experts in the #webrtc channel.

Hi Wowza

i have follow the steps in this link

https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine

but webrtc is not working for me. i configure openssl

Hello @Lionel Martin

You will need to request a StreamLock cert or request a SSL cert from a certificate authority.

Steps to request a StreamLock cert with a commercial license LINK

Steps on requesting a SSL cert from a certificate authority LINK

Your wsURL variable will look like this: wss://59823378449.streamlock.net/webrtc-session.json

or with a Self-Signed cert: wss://mydomain.com/webrtc-session.json

Regards,

JasonT

No one response in Slack.

Hi I have same error (WebSocket connection failed: wss://5c0ac8d018f42.streamlock.net/webrtc-session.json) I have StreamLock certifcate but not using https its on http.

Have you followed this updated doc @navjot babrah and the sections highlighted in light orange? Those are very important to do. Let me know please and we can continue to investigate?

https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-the-http-provider

Also, what version of Streaming Engine are you using? It must be 4.7.7

yes it’s 4.7. But I hosted my web app on http and streaming engine is also on same pc I do not think so that can be issue.

Please let me know what is issue I also add configuration in Vhost and Application.xml. and Can you please let me know which documentation you mentioned.

Is there any solution for this error specifically (WebSocket connection failed: wss://5c0ac8d018f42.streamlock.net/webrtc-session.json)

yes it’s 4.7. But I hosted my web app on http and streaming engine is also on same pc I do not think so that can be issue.

I apologize @navjot babrah, here is is that doc:

https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine#configure-the-http-provider

If this still does not help, then let’s get you setup with an engineer right away through a support ticket to run tests on your config. This is only way to determine the cause through a support ticket for testing and examination of your application.

https://www.wowza.com/support/open-ticket

Hi Rose I already configure this and I read this documentaion more than 10 times but did not start streaming I had created support ticket. i suggest to wowza community please have clean and simple documentation everything in todays world getting easy to integrate. But this wowza with webrtc is really painful job.

Hi Rose I already configure this and I read this documentaion more than 10 times but did not start streaming I had created support ticket. i suggest to wowza community please have clean and simple documentation everything in todays world getting easy to integrate. But this wowza with webrtc is really painful job.

Thanks for that feedback and we always appreciate suggestions on our docs. I will follow your support ticket progress to see what the issue was and am here if there is anything more I can do.

I’m curious what what browser you are using for WebRTC?

Google chrome. And safari.

Ok I let the engineer assigned to your ticket know I am following the progress and he has reached out to you for some more log files he needs to test. Sorry for your frustration and am eager to get this resolved for you.

Please Rose thanks I will really appreciate. I am running out of deadlines I need to fix this soon as possible.