Wowza Community

Wowza WebRTC with Reverse proxy

Hello, my platform details are the following: - OS: CentOS 5.5 - Java: 1.8 - Wowza Streaming Engine 4.7.7

I’m a complete beginner with wowza so I am initially trying to use the ready WebRTC examples. Initially, I created a streamlock certificate/domain, and can publish/play with other nodes in my network. However, these are all internal network IP’s.

What I want to achieve is expose this to the internet. So I have setup a Reverse proxy with the domain: with CA certified SSL certificate. Therefore, according to what I have read it is not necessary to use streamlock.

What I basically want to achieve is to use the URL wss:// when publishing/subscribing to a WebRTC stream. Could you help me out in how to do this? Do I need to obtain the certificate that I have for the my domain and also include it in VHost.xml, or is that not necessary? Do you maybe have an example on how I could set this up? R

Hi, for proxy passing, I suggest you nginx , do not change anything on your wowza configuration. Set nginx up and define a location

location /webrtc-session.json {
		    proxy_pass http://wowza_webrtc_nodes/webrtc-session.json;
			proxy_http_version 1.1;
			proxy_set_header Upgrade $http_upgrade;
			proxy_set_header Connection "upgrade";
			proxy_redirect off;
			proxy_set_header Host $host;
			proxy_set_header X-Real-IP $remote_addr;
			proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

where wowza_webrtc_nodes is

upstream wowza_webrtc_nodes {
		server localhost:8086;

I am a complete beginner with wowza.
I tried this proxy in my nginx but it doesn’t work.
The connection toward port 8086/tcp is no problem.Is it necessary to set something in wowza side?
curl command returned 404 with this address.
Should I change Host Ports settings?

@52168f9b420a98e08c06 At this time we do not have reverse proxies for WebRTC to know what needs to be opened up or if the workflow can work.

If you would like to discuss your workflow needs further, I suggest reaching out to our Sales Team at: