Red5 Pro WebRTC runs on the standard HTTPS port (443). To publish via WebRTC with Red5 Pro server you need a valid SSL Certificate for a registered URL. Red5 Pro with SSL walks you through setting up the certificate on your server. Additionally, as with other Red5 Pro server distributions, you will need to install Java (version 11 as of release 9.0.0, or version 8 with any previous server version).
If you wish to use ports other than
443 for https and
5080 for http with the Red5 Pro Server distribution, and wish to use the accompanying front end, you will need to edit the port values as described in this article
If you are running the server without an SSL cert, on your local machine or on a server:
- You will be able to publish/subscribe locally (between browsers on the machine).
- You will be able to subscribe to a stream that is being published from localhost (e.g.: http://localhost:5080/live/broadcast.jsp) from a device within the same network (pointing to the IP address of your machine, not to localhost). To subscribe from a mobile device, either via browser on Android, or via SDK client on iOS or Android, the device must be on the same Wifi network as the desktop.
- You will not be able to publish via a WebRTC client that is not local to the machine.
- Note that some browsers have become more strict and will no longer allow insecure WebRTC publishing or subscribing, even on localhost.
Definitions below are taken from the webrtcglossary. Click the links to see the full definitions. You can also find other terms there.
- DTLS - stands for Datagram Transport Layer Security. Simply put, DTLS is UDP + security.
- ICE - ICE stands for Interactive Connectivity Establishment. It is a standard method of NAT traversal used in WebRTC.
- NACK stands for Negative Acknowledgement. It is one of the error resiliency mechanisms in WebRTC.
- PLI - PLI stands for Picture Loss Indication. It is one of the error resiliency mechanisms in WebRTC. A PLI can be sent when the receiver of the media lost a full frame or more.
- STUN - STUN stands for Session Traversal Utilities for NAT.
- SDP - SDP stands for Session Description Protocol.
- TURN - TURN stands for Traversal Using Relays around NAT.
- WebRTC - WebRTC stands for Web Real Time Communications. It is at the intersection between the internet and telecommunications.
- WebSocket - WebSocket provides a bidirectional mechanism between web browsers and web servers for sending messages. As opposed to HTTP, where only the client can send a request to the server; WebSocket enables each side in the connection to send messages without any need to wait for past responses.