UnrealMedia WebRTC Publisher

WebRTC Publisher configured for Unreal Media Server.

Advanced
Bitrate
Video Resolution (ideal)
Video Framerate (ideal)
Audio/Video Inputs
Video Input Source
Audio Input Source
Audio Output Source

WebRTC publisher for Unreal Media Server. A password is required to be configured using the publishToken config.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="unrealmedia-publisher"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("unrealmedia-publisher", {
    "plugins": {
        "peakmeter": {},
        "rtcpublisher": {
            "applicationName": "webrtc_publish",
            "autoStartDevice": true,
            "preferredCodecs": {
                "audio": {
                    "codec": "opus"
                },
                "video": {
                    "codec": "H264"
                }
            },
            "publisher": true,
            "server": "unrealmedia",
            "serverURL": "127.0.0.1:5119",
            "toggleScreen": true,
            "unrealmedia": {
                "publicIp": "127.0.0.1",
                "publishToken": "livestream",
                "singlePort": true,
                "transportTcp": false
            },
            "wsSecure": false
        }
    },
    "sources": [
        {
            "appName": "webrtc",
            "src": "livestream",
            "type": "application/webrtc"
        }
    ]
});
  </script>