WebRTC port number

Dear All,

We are already using port 443 for HTTPS of Apple HLS. We would like to try WebRTC. Would Apple HLS on port 443 stop working, if we check the “Enable WebRTC” on VHost port edit page of the Engine Manager?

Do we need a separate IP, domain and SSL Certificate to use WebRTC next to Apple HLS?

Thanks!
Atmapuri

Yes your webrtc will need to be on its own port, but it doesn’t HAVE to be port 443. So you can keep port 443 as you have it now for HLS and HTTPS, but you’ll need to configure a different port for webrtc.

We have port 443 set as for the default though in Engine for webrtc, so if 443 is in use for something else already, you’ll need to set a different port for webrtc and make some small changes

Please see this post for steps:


Please play close attention to this :slightly_smiling_face: In this example port 444 was used instead for webrtc.

*when you enter your signaling url, you will need to enter it with the port 444 instead of 443.

wss://5ab4321c0xxxx.streamlock.net:444/webrtc-session.json

Port Type Description
443 TCP During the WebRTC signaling process, Wowza Streaming Engine uses a secure WebSocket connection to establish a connection between peers. This requires a port for encrypted connections using SSL/TLS. By default, port 443 is used. The SSL/TLS port is defined in a HostPort entry in [ install-dir ]/conf/VHost.xml .
6970 to 9999 UDP For WebRTC over UDP, Wowza Streaming Engine uses a default port range of 6970 to 9999. UDP ports are assigned dynamically, and each additional peer WebRTC connection increments the port number used. The starting port number is controlled by the DatagramStartingPort value specified in [ install-dir ]/conf/Server.xml .
1935 TCP For WebRTC over TCP, Wowza Streaming Engine uses a non-SSL-protected streaming port for TCP-level connections. The TCP port is defined in a HostPort entry in [ install-dir ]/conf/VHost.xml . By default, port 1935 is used. TCP ports are referenced in the IceCandidateIpAddresses property in [ install-dir ]/conf/[application-name]/Application.xml .

Note: Port 554 isn’t supported for TCP ICE candidates.|


Reference article for chart:

1 Like