I have built an application that tries to enable a connection in as many network conditions as possible. We have a preference for speed, but want to provide access for as many users as possible. We found that in some cases with packet-inspecting proxies, the only way to have a connection is using RTMPS. Because the packets are encrypted end-to-end, the proxy cannot inspect them and has to let them pass.
So, our application tries to connect using the following protocols:
The problem is that I have not found a way to configure Wowza such that it can listen for both rtmpe and rtmps connections on the same port. In the VHost.xml file, there are 2 separate sections: one for rtmps and one for all the other protocols. If I enable the SSL section with port 443, I cannot activate port 443 on the 'regular' section and Wowza will not respond to rtmpe on port 443. I have been able to set up a server with 2 IP addresses, but this is not ideal.
Is there a way to set Wowza up so that it will listen for both rtmpe and rtmps connections on the same port and IP address?
The HostPort in the default /conf/VHost.xml file you refer to is commented out. If you still have it commented out. If you uncomment it you will be able to use port 443. When you re-start Wowza check the start-up lines in the access log to be sure Wowza is able to bind to that port. If not there is probably a web server using 443.
You can use any port with either protocol. Every protocol has default port, to use another port you just have to use it explicitly. For example:
Right, you can't have port 443 defined in two HostPorts that have the same IpAddress. You only need one.
If 443 is enabled and you are binding successfully, it should work with rtmpe. Do you have the
RTMPE Addon ? If you do, what happens when you try to playback with rtmpe with 443. Does it work with default port.