Dolby.io WebRTC Simulcast

WebRTC Publisher configured for multi bitrate simulcast

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
      {
        "dolbyio": {
          "accountId": "",
          "publishToken": "",
          "codec": "h264"
        },
        "rtc": {
          "autoStartDevice": true,
          "server": "dolbyio",
      
      
      :::json
      {
      
        "rtcpublisher": {
            "dolbyio": {
              "accountId": "",
              "publishToken": "",
              "codec": "h264"
            },
            "iceServers": [
              {
                "urls": [
                  "stun:stun.l.google.com:19302",
                  "stun:stun1.l.google.com:19302",
                  "stun:stun2.l.google.com:19302",
                  "stun:stun3.l.google.com:19302",
                  "stun:stun4.l.google.com:19302"
                ]
              }
            ]
          }
      }
      
          <div class="flex w-full h-auto my-auto">
            <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="dolbyio-simulcast"></video>
        </div>
      
        <script type="text/javascript">
      
        	var player = videojs("dolbyio-simulcast", {
          "plugins": {
              "peakmeter": {},
              "rtcpublisher": {
                  "autoStartDevice": true,
                  "dolbyio": {
                      "accountId": "huaHNT",
                      "codec": "h264",
                      "publishToken": "31ae7f65a04762b5e44b56b0eb2b2cd6dae169c05d13955af09c526399378592"
                  },
                  "publisher": true,
                  "sendEncodings": [
                      {
                          "active": true,
                          "maxBitrate": 1500000,
                          "priority": "high",
                          "rid": "high"
                      },
                      {
                          "active": true,
                          "maxBitrate": 500000,
                          "rid": "middle",
                          "scaleResolutionDownBy": 2.0
                      },
                      {
                          "active": true,
                          "maxBitrate": 100000,
                          "rid": "low",
                          "scaleResolutionDownBy": 4.0
                      }
                  ],
                  "server": "dolbyio",
                  "simulcast": true,
                  "toggleScreen": true
              }
          },
          "sources": [
              {
                  "src": "C6Lx6ku6FEXgKtt",
                  "type": "application/webrtc"
              }
          ]
      });
      
        </script>