WebRTC Publisher with minimal settings

WebRTC Publisher with only audio and video device selection.

        <div class="peak-meter w-auto max-w-full h-9 ml-5 my-3" style="height: 180px;"></div>

WebRTC Publisher configuration showing minimal encoder settings with the audio meter integrated within the hidden settings.

Disabling the verticalMeter config, this turns on a horizontal audio meter display.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid has-settings" crossorigin="anonymous" controls="" id="publisher-settings-minimal"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("publisher-settings-minimal", {
    "plugins": {
        "peakmeter": {
            "verticalMeter": false
        },
        "rtcpublisher": {
            "applicationName": "webrtc",
            "autoStartDevice": true,
            "floatedControls": true,
            "publishToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3ZWJydGMiLCJpYXQiOjE2MzczMzAyNTksImV4cCI6MTY2ODg2NjI1OSwiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSIsInN0cmVhbU5hbWUiOiJDNkx4Nmt1NkZFWGdLdHQifQ.4_38rdgyqWabGvoV6WZREjrqevVeGIgCKK7xOknwGx4",
            "publisher": true,
            "server": "wowza",
            "serverURL": "rtc.electroteque.org",
            "settings": true,
            "toggleScreen": true,
            "ui": {
                "audioInput": "audioSource",
                "audioOutput": "audioOutput",
                "bandwidth": "bandwidth",
                "container": "#encoder-menu-minimal",
                "rates": "rates",
                "resolution": "resolution",
                "videoSource": "videoSource"
            },
            "userData": {
                "param1": "value1"
            }
        }
    },
    "sources": [
        {
            "src": "C6Lx6ku6FEXgKtt",
            "type": "application/webrtc"
        }
    ]
});
  </script>