Unreal Media Server WebRTC publishing

Capture settings:



Stream audio: Stream video:

Video width: Video height:

Video framerate:








Encoding and publishing settings:

Alias of the webrtc live broadcast:

Password:

IP address of Unreal Media Server:

Port of Unreal Media Server:

Use secure websocket for signaling:

Use central WebRTC port:

WebRTC transport: UDP TCP

Audio codec: Audio bitrate (kbps):
Video codec: Video bitrate (kbps):
Instructions:
  • Supported browsers: Chrome, Firefox, Edge on Windows; Safari on iOS and Mac; Chrome on Android.
  • You can download this webpage from our SDK package and host it on your website.
  • This page must be loaded loaded via HTTPS, to get access to microphone/camera. The only options to load via plain HTTP are: load this page from webserver at localhost, or load directly from hard drive (not from web server at all).
  • This page uses a websocket to connect to Unreal Media Server for WebRTC signaling. If the page is loaded via HTTPS, and you don't use a secure websocket, then the publishing will not work due to "mixed content" default policy. To overcome that issue, allow "mixed" or "insecure" content for this webpage in your browser (in Chrome, open Site Settings and allow Insecure Content). Alternatively, you can save this publishing webpage, along with unrealwebrtcpublisher.js file, to your local hard drive and then open from the hard drive (or from your local webserver running at localhost).
  • To use a secure websocket (recommended), you need to install a real SSL certificate (not self-signed one) on Unreal Media Server computer, and configure it in Unreal Media Server properties.
  • Note that for unsecure websocket you need to specify the main Unreal Media Server port (5119 by default); for secure websocket you need to specify the secure port (443 by default).
  • If you use secure websocket then you need to specify domain name instead of IP address in the server IP address field. Also, if you use secure websocket AND your server is behind NAT router relative to publishing computer, then you need to modify unrealwebrtcpublisher.js according to this forum thread.
  • If you use central port for actual WebRTC ICE connection (recommended), the web browser will send streaming media to a predefined single port in Unreal Media Server, dedicated to WebRTC connections (by default 5135). In this case, you only need to open port 5135 in firewall/NAT router for Unreal Media Server (together with signaling ports, 5119 or 443). Otherwise, the WebRTC connection will be made over a random port; you will need to open all ports in the firewall, or add Unreal Media Server as an allowed app in the firewall.