WebRTC Publisher with hidden settings

WebRTC Publisher with settings and controls in the player

Note: Not a live demo, server configuration is just for example. For live working example try the Millicast Publisher and Subscriber example.

Using the has-settings player style. And floatedControls config. This configures the WebRTC publisher encoder settings inside the player with floated control buttons.

    <div class="max-w-screen-2xl h-auto my-auto">
          <div id="publisher-settings" class="has-settings"></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("publisher-settings", {
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "plugins": {
        "../../js/webrtcpeakmeter-8.20.0.js": {},
        "../../js/webrtcpublisher-8.20.0.js": {
            "applicationName": "webrtc",
            "autoStartDevice": true,
            "floatedControls": true,
            "publisher": true,
            "server": "wowza",
            "serverURL": "rtc.electroteque.org",
            "settings": true,
            "toggleScreen": true,
            "userData": {
                "param1": "value1"
            }
        }
    },
    "sources": [
        {
            "appName": "webrtc",
            "file": "C6Lx6ku6FEXgKtt",
            "live": true,
            "publisher": true,
            "type": "mp4"
        }
    ],
    "width": "100%"
});
  </script>