UnrealMedia WebRTC Publisher

WebRTC Publisher configured for Unreal Media Server.

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
      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>